Forward native key codes to QWindowSystemInterface
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>
Thu, 29 Mar 2012 08:54:29 +0000 (10:54 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 30 Mar 2012 19:51:14 +0000 (21:51 +0200)
commit83e7f61b61c9778428f9c667967c3409c2f95f8a
tree0ab214b7860b2511c24c3da03981480b302092eb
parent06001ce0085c5fd47bbcc3c7ab151f7c0ac2f0ed
Forward native key codes to QWindowSystemInterface

Using QWindowSystemInterface::handleExtendedKeyEvent() instead of
QWindowSystemInterface::handleKeyEvent(). While the former allows
us to forward the native key codes to QWindowSystemInterface, the
latter initializes them with 0, causing QKeyEvent::native*() to
return 0, instead of the actual values.

Change-Id: I596ad2e07645e091529ca514682c98d095244a73
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp