aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/pointer/pinchHandler.qml
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-05-20 22:14:42 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-05-22 14:49:25 +0200
commit277d6b16eca117918457d284586dfded41724496 (patch)
treef7df99498bdb3a3463d50fcc09ab67cb14045fe6 /tests/manual/pointer/pinchHandler.qml
parent84e87fd38e7cff31b88abc52d774299890545b92 (diff)
Fix the pinchHandler manual test
minimum/maximum X and Y were deprecated and replaced with separate axis objects in ea195452e80e4b5a70e8c8cdf96a30581a8dd456; this test should have been fixed then. Now that the deprecated properties were removed in 98d088d6e31c6c1bafea5674c9003d846b572680, this test didn't work. Pick-to: 5.15 Change-Id: I05cc1f58651f0774b74fda48a4ab87be30f30894 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual/pointer/pinchHandler.qml')
-rw-r--r--tests/manual/pointer/pinchHandler.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/pointer/pinchHandler.qml b/tests/manual/pointer/pinchHandler.qml
index 8ef6623f7f..46ab91c2ed 100644
--- a/tests/manual/pointer/pinchHandler.qml
+++ b/tests/manual/pointer/pinchHandler.qml
@@ -118,8 +118,8 @@ Rectangle {
maximumRotation: 45
minimumScale: 0.5
maximumScale: 3
- minimumX: 0
- maximumX: 600
+ xAxis.minimum: 0
+ xAxis.maximum: 600
// acceptedModifiers: Qt.ControlModifier
}
TapHandler { gesturePolicy: TapHandler.DragThreshold; onTapped: rect2.z = rect3.z + 1 }