From 9634dc440269fc03f825a6d18b371d8e612ba9ec Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Fri, 10 Feb 2012 16:12:10 +1000 Subject: [PATCH] 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 --- src/quick/items/qquickpincharea.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/quick/items/qquickpincharea.cpp b/src/quick/items/qquickpincharea.cpp index f50ca6d..674abdc 100644 --- a/src/quick/items/qquickpincharea.cpp +++ b/src/quick/items/qquickpincharea.cpp @@ -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); -- 2.7.4