summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptvalueiterator.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@nokia.com>2009-12-03 11:53:41 (GMT)
committerAndy Shaw <andy.shaw@nokia.com>2009-12-03 11:54:36 (GMT)
commitae87d2ac8f4ee62de5c9ec59ee575cf3678fa367 (patch)
tree64df6cbbe2dfcf2abf9bc39c6586ed3a0694ff02 /doc/src/snippets/code/src_script_qscriptvalueiterator.cpp
parentad8e34ff448b4e261da65cc5210664f150736bba (diff)
downloadQt-ae87d2ac8f4ee62de5c9ec59ee575cf3678fa367.zip
Qt-ae87d2ac8f4ee62de5c9ec59ee575cf3678fa367.tar.gz
Qt-ae87d2ac8f4ee62de5c9ec59ee575cf3678fa367.tar.bz2
Ensure the button state is correct when creating a QWheelEvent on Mac.
On Mac when we receive a scrollWheel event on Carbon or Cocoa then we need to use QApplication::mouseButtons() in order to ensure the QWheelEvent has the right button states set. This is because the buttons state information is not passed in the native event at all. Reviewed-by: MortenS
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalueiterator.cpp')
0 files changed, 0 insertions, 0 deletions