head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2003.06.17.17.09.14; author swiergot; state Exp; branches; next ; desc @@ 1.1 log @- Added ctrlu patch. This enables CTRL+U in message window. @ text @diff -ruN psi-0.9.orig/src/contactview.cpp psi-0.9/src/contactview.cpp --- psi-0.9.orig/src/msgmle.cpp +++ psi-0.9/src/msgmle.cpp @@@@ -46,6 +46,8 @@@@ e->ignore(); else if(e->key() == Key_H && (e->state() & ControlButton)) e->ignore(); + else if(e->key() == Key_U && (e->state() & ControlButton)) + setText(""); else QTextEdit::keyPressEvent(e); } @@@@ -106,6 +108,8 @@@@ insert("\n"); else if(e->key() == Key_H && (e->state() & ControlButton)) e->ignore(); + else if(e->key() == Key_U && (e->state() & ControlButton)) + setText(""); else if(e->key() == Key_S && (e->state() & AltButton)) e->ignore(); else if(e->key() == Key_U && (e->state() & ControlButton)) @ .