-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 | |||
@@ -150,28 +150,28 @@ void ClipboardApplet::action(int id) | |||
150 | switch ( id ) { | 150 | switch ( id ) { |
151 | case 0: | 151 | case 0: |
152 | unicode='X'-'@'; | 152 | unicode='X'-'@'; |
153 | scan=Key_X; // Cut | 153 | scan=Key_X; // Cut |
154 | break; | 154 | break; |
155 | case 1: | 155 | case 1: |
156 | unicode='C'-'@'; | 156 | unicode='C'-'@'; |
157 | scan=Key_C; // Copy | 157 | scan=Key_C; // Copy |
158 | break; | 158 | break; |
159 | case 2: | 159 | case 2: |
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 ); |
174 | p. drawPixmap ( 0, 1, clipboardPixmap ); | 174 | p. drawPixmap ( 0, 1, clipboardPixmap ); |
175 | } | 175 | } |
176 | 176 | ||
177 | 177 | ||