diff options
Diffstat (limited to 'tests/manual/pointer/singlePointHandlerProperties.qml')
-rw-r--r-- | tests/manual/pointer/singlePointHandlerProperties.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/pointer/singlePointHandlerProperties.qml b/tests/manual/pointer/singlePointHandlerProperties.qml index f91094ee9e..c51c2eb443 100644 --- a/tests/manual/pointer/singlePointHandlerProperties.qml +++ b/tests/manual/pointer/singlePointHandlerProperties.qml @@ -150,9 +150,10 @@ Rectangle { DragHandler { id: dragHandler target: null + acceptedButtons: Qt.AllButtons onGrabChanged: if (active) { // 'point' is an implicit parameter referencing to a QQuickEventPoint instance console.log("grabbed " + point.pointId + " @ " + point.sceneGrabPos) - grabbingLocationIndicator.createObject(root, {"x": point.sceneGrabPos.x, "y": point.sceneGrabPos.y - 16}) + grabbingLocationIndicator.createObject(root, {"x": point.sceneGrabPosition.x, "y": point.sceneGrabPosition.y - 16}) } onPointChanged: { // Here, 'point' is referring to the property of the DragHandler |