summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-04-27 12:16:20 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-04-27 10:59:05 +0000
commitb7f9f342480c669780a244c237642edaf5b57bc3 (patch)
treecd77c9390edef85d307a25f4d2b8e7559ad7c2a2 /tests/manual
parent45cfee52e4dd488adc1050dd50fbe1dbecee9a4d (diff)
QQMultiPointerHandler: don't steal grab if keepMouseGrab/keepTouchGrab
An Item (such as MPTA with onGestureStarted: gesture.grab()) may set these flags, traditionally to prevent Flickable from stealing the grab. QQuickMultiPointerHandler (and thus PinchHandler) now respects these flags too. Change-Id: Iac3ab796c5aa410be45639d679ecf82b7c44a442 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/touch/mpta-crosshairs.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/touch/mpta-crosshairs.qml b/tests/manual/touch/mpta-crosshairs.qml
index d1dbd0f188..efea16029b 100644
--- a/tests/manual/touch/mpta-crosshairs.qml
+++ b/tests/manual/touch/mpta-crosshairs.qml
@@ -50,6 +50,7 @@ Rectangle {
MultiPointTouchArea {
id: mpta
anchors.fill: parent
+ //onGestureStarted: gesture.grab() // in case this is embedded in something that might steal
touchPoints: [
TouchPoint { property color color: "red" },
TouchPoint { property color color: "orange" },