aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/pointerhandlers/qquickpointerhandler/tst_qquickpointerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/pointerhandlers/qquickpointerhandler/tst_qquickpointerhandler.cpp')
-rw-r--r--tests/auto/quick/pointerhandlers/qquickpointerhandler/tst_qquickpointerhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/pointerhandlers/qquickpointerhandler/tst_qquickpointerhandler.cpp b/tests/auto/quick/pointerhandlers/qquickpointerhandler/tst_qquickpointerhandler.cpp
index bb4361255c..cc39dd54f7 100644
--- a/tests/auto/quick/pointerhandlers/qquickpointerhandler/tst_qquickpointerhandler.cpp
+++ b/tests/auto/quick/pointerhandlers/qquickpointerhandler/tst_qquickpointerhandler.cpp
@@ -200,7 +200,7 @@ class EventHandler : public QQuickPointerHandler
item->eventList.append(Event(Event::HandlerDestination, QEvent::Pointer,
static_cast<Qt::TouchPointState>(point->state()),
item->grabPointer ? (int)QQuickEventPoint::GrabExclusive : (int)NoGrab,
- eventPos(point), point->scenePos()));
+ eventPos(point), point->scenePosition()));
}
}
@@ -208,7 +208,7 @@ class EventHandler : public QQuickPointerHandler
{
EventItem *item = static_cast<EventItem *>(target());
item->eventList.append(Event(Event::HandlerDestination, QEvent::None,
- static_cast<Qt::TouchPointState>(point->state()), stateChange, eventPos(point), point->scenePos()));
+ static_cast<Qt::TouchPointState>(point->state()), stateChange, eventPos(point), point->scenePosition()));
}
};