diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2015-02-18 15:53:09 +1000 |
---|---|---|
committer | Aaron McCarthy <mccarthy.aaron@gmail.com> | 2015-02-24 01:12:26 +0000 |
commit | 83a16630c13969e68cd3a5aaab73335ccb0d4414 (patch) | |
tree | c6b4728ab016a19545bc826b54a2f3f64d378341 /src/qml/qml/qqmltypeloader.cpp | |
parent | cb0243d5078dcd9cebb2ce89621e4912ff57cebf (diff) |
Handle TouchCancel events in QQuickPinchArea
QQuickPinchArea did not handle TouchCancel events and would recursively
call QQuickItem::event(). Cancel the pinch gesture by restoring the
pinch state to the start state. Don't recursively call
QQuickItem::event(), instead call QQuickItem::touchEvent() for
unhandled touch events.
[ChangeLog][QtQuick][PinchArea] Fix infinite recursion when TouchCancel
events are received.
Change-Id: Ifce4af91aec4285873cb701069e007bcee180851
Reviewed-by: Martin Jones <martin.jones@qinetic.com.au>
Diffstat (limited to 'src/qml/qml/qqmltypeloader.cpp')
0 files changed, 0 insertions, 0 deletions