Cocoa: Send keyboard modifiers with wheel events.
authorMorten Johan Sorvig <morten.sorvig@nokia.com>
Fri, 16 Mar 2012 15:19:13 +0000 (16:19 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Mar 2012 10:52:10 +0000 (11:52 +0100)
commitfb4c976a0e0b5c6b8dfb7d7c35fe8e6772d4a876
treeec3741e12e1f629e2d4033cbf3045df7677cc9a0
parentd6ebb3db16a11eb7c266419f0a7e19b9ceb0f7d9
Cocoa: Send keyboard modifiers with wheel events.

Read and save the modifiers at the beginning of the
event stream to keep the event interpretation constant
for the entire event stream.

Change-Id: I66046dea8f8fd3ff2f88c48da5f076377bda32dd
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/plugins/platforms/cocoa/qnsview.h
src/plugins/platforms/cocoa/qnsview.mm