-rw-r--r-- | core/launcher/desktop.cpp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index ce99bad..a00fae2 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp | |||
@@ -190,9 +190,12 @@ bool DesktopApplication::qwsEventFilter( QWSEvent *e ) | |||
190 | 190 | ||
191 | KeyRegisterList::Iterator it; | 191 | if (!keyRegisterList.isEmpty()) |
192 | for( it = keyRegisterList.begin(); it != keyRegisterList.end(); ++it ) | ||
193 | { | 192 | { |
194 | if ((*it).getKeyCode() == ke->simpleData.keycode) | 193 | KeyRegisterList::Iterator it; |
195 | QCopEnvelope((*it).getChannel().utf8(), (*it).getMessage().utf8()); | 194 | for( it = keyRegisterList.begin(); it != keyRegisterList.end(); ++it ) |
195 | { | ||
196 | if ((*it).getKeyCode() == ke->simpleData.keycode) | ||
197 | QCopEnvelope((*it).getChannel().utf8(), (*it).getMessage().utf8()); | ||
198 | } | ||
196 | } | 199 | } |
197 | 200 | ||
198 | if ( !keyboardGrabbed() ) { | 201 | if ( !keyboardGrabbed() ) { |
@@ -230,8 +233,3 @@ bool DesktopApplication::qwsEventFilter( QWSEvent *e ) | |||
230 | } | 233 | } |
231 | /* | 234 | |
232 | if ( ke->simpleData.keycode == 4096 ) { | ||
233 | QCopEnvelope e("QPE/VMemo", "toggleRecord()"); | ||
234 | return TRUE; | ||
235 | } | ||
236 | */ | ||
237 | if ( ke->simpleData.keycode == Key_F34 ) { | 235 | if ( ke->simpleData.keycode == Key_F34 ) { |