aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquicktaphandler.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-02-01 14:31:31 +0100
committerLiang Qi <liang.qi@qt.io>2019-02-01 14:50:06 +0100
commit4b0a030cc9b9fa32383a43e2b971f05a536b8e7f (patch)
treeac4738a7ae6ff491c3afa3171b27c9688635e58a /src/quick/handlers/qquicktaphandler.cpp
parente09519bad7ff266e466ea2d2d66187fbb13457f9 (diff)
parent5d8d0d7068bc8498ea2a6a4c9bc16e0eeb92836c (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Conflicts: src/qml/compiler/qv4codegen.cpp Done-With: Erik Verbruggen <erik.verbruggen@qt.io> Change-Id: I3ae3d64317e4f3fccba6605f4c6da15479ca75e0
Diffstat (limited to 'src/quick/handlers/qquicktaphandler.cpp')
-rw-r--r--src/quick/handlers/qquicktaphandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquicktaphandler.cpp b/src/quick/handlers/qquicktaphandler.cpp
index 475942b7ac..b4b6bd574e 100644
--- a/src/quick/handlers/qquicktaphandler.cpp
+++ b/src/quick/handlers/qquicktaphandler.cpp
@@ -130,7 +130,7 @@ bool QQuickTapHandler::wantsEventPoint(QQuickEventPoint *point)
case QQuickEventPoint::Updated:
switch (m_gesturePolicy) {
case DragThreshold:
- ret = !overThreshold;
+ ret = !overThreshold && parentContains(point);
break;
case WithinBounds:
ret = parentContains(point);