Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Flickable containing PinchArea is unresponsive following pinch.
PinchArea was releasing the mouse grab when all touches were
released, causing the mouse release event to not be propagated
to its parents, who were then unable to correct their state.
Remove this code and allow the normal event handlers to do their
thing.

Change-Id: I367772ca13546425fed4bed4438084bdf3c74dde
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
  • Loading branch information
Martin Jones authored and Qt by Nokia committed Feb 10, 2012
1 parent dcd47af commit 9634dc4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/quick/items/qquickpincharea.cpp
Expand Up @@ -326,9 +326,6 @@ void QQuickPinchArea::updatePinch()
d->pinchRejected = false;
d->stealMouse = false;
setKeepMouseGrab(false);
QQuickCanvas *c = canvas();
if (c && c->mouseGrabberItem() == this)
ungrabMouse();
return;
}
QTouchEvent::TouchPoint touchPoint1 = d->touchPoints.at(0);
Expand Down

0 comments on commit 9634dc4

Please sign in to comment.