diff options
author | Takao Fujiwara <takao.fujiwara1@gmail.com> | 2015-08-25 14:54:31 +0900 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-08-25 19:41:46 +0000 |
commit | 418824dc691fd7fe2fede6b9566f0c4db098e772 (patch) | |
tree | e81f126c4c94035d6061967a31b8e5e64a9c8ff4 /src/corelib/kernel/qmetatype.cpp | |
parent | 4b5da50b29b79b899838685163ce01cfac01bc60 (diff) |
ibus: Return correct scan code to windows
ibus keycode is qt scancode - 8 and needs to be returned to app windows
as the right value.
Use QWindowSystemInterface::handleExtendedKeyEvent() instead of
QCoreApplication::sendEvent() in qtbase 5.6 to follow
QXcbKeyboard::handleKeyEvent().
Also qApp->focusObject() returns QMdiChild which is a QWidget and
that is not a QWindow.
Task-number: QTBUG-47833
Change-Id: Ie634a86d7790d8093cfca2dc8666f726844ae654
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/corelib/kernel/qmetatype.cpp')
0 files changed, 0 insertions, 0 deletions