Fix key modifiers in mouse wheel events on Windows.
authorGlenn Watson <glenn.watson@nokia.com>
Fri, 22 Jun 2012 00:36:36 +0000 (10:36 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 22 Jun 2012 09:47:24 +0000 (11:47 +0200)
commit4a8d9eed87565b20c1f10b173c652be26ea608f7
treefc278efc4fa66a1b7f8233be549978fd36a98fc3
parent6481218da13539529b87626a352a17f42c57be61
Fix key modifiers in mouse wheel events on Windows.

The Windows platform plugin was not checking for the control or
shift keyboard modifiers when processing mouse wheel events. Added
a function to convert Windows wheel events to Qt::KeyboardModifiers
and passed this through the event chain.

Task-number: QTBUG-25754
Change-Id: I6551e98b4eaebad5704058bddfb06502ded5155d
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/plugins/platforms/windows/qwindowsmousehandler.cpp
src/plugins/platforms/windows/qwindowsmousehandler.h