Handle QEvent::TouchCancel in QML_TRANSLATE_TOUCH_TO_MOUSE mode
authorMartin Jones <martin.jones@nokia.com>
Thu, 8 Mar 2012 03:41:19 +0000 (13:41 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 9 Mar 2012 08:56:08 +0000 (09:56 +0100)
commit2ecf1f5d8ae37bdb4624bd1e3888a65ec357f7b3
treea968eb94be28d766055bc01be9aaf9fec25924aa
parent6a7da3f592a0cd672ce076afd75eb810b5c17c4c
Handle QEvent::TouchCancel in QML_TRANSLATE_TOUCH_TO_MOUSE mode

Just remove the mouse grab.  The elements will react to this and
correct their state.

Change-Id: I8b91295606eaface54aa95b1500e7b138d9bc82e
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/quick/items/qquickcanvas.cpp