diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-05-20 22:14:42 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-05-22 15:54:12 +0000 |
commit | e7fbcfef757bd4805c2f3d6241ed5e62ff60ab73 (patch) | |
tree | d0eb5c1915a79bb2bcfdd87cd45ba42fa92b966b /tests/manual/pointer/pinchHandler.qml | |
parent | a7a70f663e31a7537d4a5cc2fe5975d84e5d65fc (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.
Change-Id: I05cc1f58651f0774b74fda48a4ab87be30f30894
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
(cherry picked from commit 277d6b16eca117918457d284586dfded41724496)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/manual/pointer/pinchHandler.qml')
-rw-r--r-- | tests/manual/pointer/pinchHandler.qml | 4 |
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 } |