summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2010-01-26 13:52:09 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2010-01-26 13:52:09 (GMT)
commit33a5ecd4908690d6a8366d8f7384ad1e8cf86f92 (patch)
treef623030733f4297b41c664c8a981aa14c385a036 /src/gui/embedded
parentf0f1d8588892ba94301ecad2aa4495e9bfa364ae (diff)
downloadQt-33a5ecd4908690d6a8366d8f7384ad1e8cf86f92.zip
Qt-33a5ecd4908690d6a8366d8f7384ad1e8cf86f92.tar.gz
Qt-33a5ecd4908690d6a8366d8f7384ad1e8cf86f92.tar.bz2
queue user mouse, wheel, and keyboard input events
For plugins: testlite, minimaldfb, vnc, LinuxInput[Mouse|Keyboard]
Diffstat (limited to 'src/gui/embedded')
-rw-r--r--src/gui/embedded/qkbd_qws.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/embedded/qkbd_qws.cpp b/src/gui/embedded/qkbd_qws.cpp
index 233b6fa..97fb7a0 100644
--- a/src/gui/embedded/qkbd_qws.cpp
+++ b/src/gui/embedded/qkbd_qws.cpp
@@ -367,8 +367,7 @@ void QWSKeyboardHandler::processKeyEvent(int unicode, int keycode, Qt::KeyboardM
QString str;
if (unicode != 0xffff)
str = QString(unicode);
- QKeyEvent ke(type, keycode, modifiers, str);
- QApplicationPrivate::handleKeyEvent(0, &ke);
+ QApplicationPrivate::handleKeyEvent(0, type, keycode, modifiers, str);
#endif
}