author | sandman <sandman> | 2002-06-20 17:36:21 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-20 17:36:21 (UTC) |
commit | fd64293dbcfae3bcf3265e31fbe847ac86b2a0af (patch) (unidiff) | |
tree | 77b9541ed66bf6cc388da18cc7cdbe463cc2930e /core/applets/clipboardapplet/clipboard.cpp | |
parent | 0996b7f1bcbdb05db00eadb0cdd60b2066cdd899 (diff) | |
download | opie-fd64293dbcfae3bcf3265e31fbe847ac86b2a0af.zip opie-fd64293dbcfae3bcf3265e31fbe847ac86b2a0af.tar.gz opie-fd64293dbcfae3bcf3265e31fbe847ac86b2a0af.tar.bz2 |
virtual key events should use sendKeyEvent, not processKeyEvents
Diffstat (limited to 'core/applets/clipboardapplet/clipboard.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/clipboardapplet/clipboard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/clipboardapplet/clipboard.cpp b/core/applets/clipboardapplet/clipboard.cpp index cd4f61c..203e23e 100644 --- a/core/applets/clipboardapplet/clipboard.cpp +++ b/core/applets/clipboardapplet/clipboard.cpp | |||
@@ -160,14 +160,14 @@ void ClipboardApplet::action(int id) | |||
160 | unicode='V'-'@'; | 160 | unicode='V'-'@'; |
161 | scan=Key_V; // Paste | 161 | scan=Key_V; // Paste |
162 | break; | 162 | break; |
163 | } | 163 | } |
164 | 164 | ||
165 | if ( scan ) { | 165 | if ( scan ) { |
166 | qwsServer->processKeyEvent( unicode, scan, ControlButton, TRUE, FALSE ); | 166 | qwsServer-> sendKeyEvent ( unicode, scan, ControlButton, true, false ); |
167 | qwsServer->processKeyEvent( unicode, scan, ControlButton, FALSE, FALSE ); | 167 | qwsServer-> sendKeyEvent ( unicode, scan, ControlButton, true, false ); |
168 | } | 168 | } |
169 | } | 169 | } |
170 | 170 | ||
171 | void ClipboardApplet::paintEvent ( QPaintEvent* ) | 171 | void ClipboardApplet::paintEvent ( QPaintEvent* ) |
172 | { | 172 | { |
173 | QPainter p ( this ); | 173 | QPainter p ( this ); |