Properly copy all event parameters in deliverMouseEvent()
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Tue, 3 Apr 2012 09:24:52 +0000 (12:24 +0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 5 Apr 2012 07:50:05 +0000 (09:50 +0200)
commitaa959012a82900ea90a13129af4a5c43b155b4e2
tree4f6d86d870b98477d2493adabe9e915b2175b7b4
parent664a0e3f498db65f74b0e0181a0ec76cd6691a34
Properly copy all event parameters in deliverMouseEvent()

Timestamp and capabilities were missing. One of the very special flick
test cases needs to be fixed, because setting the proper timestamp
will now generate correct velocities. A potentially dangerous, legacy
implementation of flick() has also been updated to match how QTestLib
works in Qt 5.

Change-Id: Ibc99f7212ba21d41a419eaadac2fdda730658dc6
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickcanvas.cpp
tests/auto/quick/qquickflickable/tst_qquickflickable.cpp
tests/auto/quick/shared/viewtestutil.cpp