diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-09-22 14:52:48 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-23 10:37:49 +0200 |
commit | 7f9b7c478b6edaf4a7982e067ce66fb96b41d633 (patch) | |
tree | 73f57cf08990c509d51d49488bd50dd6b611302f /src/plugins | |
parent | 75009fb135da74f879dfced74c9a0c52cc6290dc (diff) |
Fix preedit text on XCB
indexOfMethod() requires a full signature, not just a method name.
Change-Id: Icb15ab46cab61b35f5d56e8e94b71f5e3b72f97a
Reviewed-on: http://codereview.qt-project.org/5386
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbkeyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbkeyboard.cpp b/src/plugins/platforms/xcb/qxcbkeyboard.cpp index b5722e7eeb..1f13daea0a 100644 --- a/src/plugins/platforms/xcb/qxcbkeyboard.cpp +++ b/src/plugins/platforms/xcb/qxcbkeyboard.cpp @@ -1030,7 +1030,7 @@ void QXcbKeyboard::handleKeyEvent(QWindow *window, QEvent::Type type, xcb_keycod if (inputContext) { bool retval = false; - if (inputContext->metaObject()->indexOfMethod("x11FilterEvent") != -1) + if (inputContext->metaObject()->indexOfMethod("x11FilterEvent(uint,uint,uint,bool)") != -1) QMetaObject::invokeMethod(inputContext, "x11FilterEvent", Qt::DirectConnection, Q_RETURN_ARG(bool, retval), Q_ARG(uint, sym), |