-rw-r--r-- | core/launcher/desktop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index d5c16b3..85ba160 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp @@ -192,5 +192,5 @@ bool DesktopApplication::qwsEventFilter( QWSEvent *e ) return TRUE; bool press = ke->simpleData.is_press; - + bool autoRepeat = ke ->simpleData.is_auto_repeat; if (!keyRegisterList.isEmpty()) { @@ -198,5 +198,5 @@ bool DesktopApplication::qwsEventFilter( QWSEvent *e ) for( it = keyRegisterList.begin(); it != keyRegisterList.end(); ++it ) { - if ((*it).getKeyCode() == ke->simpleData.keycode) + if ((*it).getKeyCode() == ke->simpleData.keycode && !autoRepeat) QCopEnvelope((*it).getChannel().utf8(), (*it).getMessage().utf8()); } |