diff options
author | Johannes Zellner <johannes.zellner@nokia.com> | 2012-06-09 18:40:33 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-10 09:39:36 +0200 |
commit | 16548ce85ee29ad57f6948b262ce0dbcc99ab46d (patch) | |
tree | 85271340a3d36a7a02d8a6ca9cf565d1da06827d /src/platformsupport/input/evdevmouse/qevdevmousehandler_p.h | |
parent | 612fae1ae6299d9614b2af7efd122830c431240f (diff) |
evdevmouse: send correct event position for wheel events
The current position for mouse events is synchronized in the mousemanager,
thus the wheel event needs to pick the event position from there.
Change-Id: I1e73a0154b596885c7092f0a74e6dd448deb428c
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'src/platformsupport/input/evdevmouse/qevdevmousehandler_p.h')
-rw-r--r-- | src/platformsupport/input/evdevmouse/qevdevmousehandler_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platformsupport/input/evdevmouse/qevdevmousehandler_p.h b/src/platformsupport/input/evdevmouse/qevdevmousehandler_p.h index 4b6ec1bb94..127bdedc78 100644 --- a/src/platformsupport/input/evdevmouse/qevdevmousehandler_p.h +++ b/src/platformsupport/input/evdevmouse/qevdevmousehandler_p.h @@ -60,6 +60,7 @@ public: signals: void handleMouseEvent(int x, int y, Qt::MouseButtons buttons); + void handleWheelEvent(int delta, Qt::Orientation orientation); private slots: void readMouseData(); |