summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-11-08 10:08:41 (GMT)
committerShawn Rutledge <shawn.rutledge@qt.io>2017-11-08 10:23:49 (GMT)
commit5804d34e3b311dc814c7897894ef7a6b960f0f40 (patch)
treea48557d8726b9bda49d8d7e15ad25b257cc6cb14
parent0cecbf084f805ddfd114370b2d8f5a107602971d (diff)
downloadqtlocation-5804d34e3b311dc814c7897894ef7a6b960f0f40.tar.gz
remove use of deprecated QQuickEventPoint::grabber()
It will soon be removed. Change-Id: Id3e348a6e2ef200b1dde7bd87f64b7ca2cffc5cc Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
-rw-r--r--src/location/declarativemaps/qdeclarativegeomap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap.cpp b/src/location/declarativemaps/qdeclarativegeomap.cpp
index 7087a50..34885f5 100644
--- a/src/location/declarativemaps/qdeclarativegeomap.cpp
+++ b/src/location/declarativemaps/qdeclarativegeomap.cpp
@@ -2271,7 +2271,7 @@ bool QDeclarativeGeoMap::sendTouchEvent(QTouchEvent *event)
auto touchPointGrabberItem = [touchDevice, windowPriv](const QTouchEvent::TouchPoint &point) -> QQuickItem* {
if (QQuickEventPoint *eventPointer = windowPriv->pointerEventInstance(touchDevice)->pointById(point.id()))
- return eventPointer->grabber();
+ return eventPointer->grabberItem();
return nullptr;
};