aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickdraghandler.cpp
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@qt.io>2017-02-24 16:42:47 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2017-05-23 05:52:18 +0000
commit5d4f488bf30f5650051d6cc226a75dbd17cd9a70 (patch)
tree827f71d5ad7eee909faa60133d0d521aa0b56958 /src/quick/handlers/qquickdraghandler.cpp
parent057fc4b5b037284ffe299a28725fcf59c7ac066f (diff)
Move properties into grouped "point" property
Change-Id: I80000110a2e0ca69210322a0fcc587d86158358e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickdraghandler.cpp')
-rw-r--r--src/quick/handlers/qquickdraghandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquickdraghandler.cpp b/src/quick/handlers/qquickdraghandler.cpp
index 27edffd65a..b41e1f6c9d 100644
--- a/src/quick/handlers/qquickdraghandler.cpp
+++ b/src/quick/handlers/qquickdraghandler.cpp
@@ -69,7 +69,7 @@ QQuickDragHandler::~QQuickDragHandler()
bool QQuickDragHandler::wantsEventPoint(QQuickEventPoint *point)
{
// If we've already been interested in a point, stay interested, even if it has strayed outside bounds.
- return ((point->state() != QQuickEventPoint::Pressed && pointId() == point->pointId())
+ return ((point->state() != QQuickEventPoint::Pressed && this->point().id() == point->pointId())
|| QQuickPointerSingleHandler::wantsEventPoint(point));
}