From 602af14a7782613f1f6e4bd6492a1abf5b40806b Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Thu, 7 Sep 2017 16:01:05 +0200 Subject: singlePointHandlerProperties manual test fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After 2617ac5b9df7dfdecf0cb02d5933c40df1a55bbc the point.pos properties are renamed. We need to accept all buttons in order to show feedback for middle and right clicks. Change-Id: I2dce1b14c4ac94ffac7b8ed3ecc12938067a434c Reviewed-by: Jan Arve Sæther --- tests/manual/pointer/singlePointHandlerProperties.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/manual') 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 -- cgit v1.2.3