diff options
Diffstat (limited to 'tests/auto/quick/qquickpincharea/data/pinchproperties.qml')
-rw-r--r-- | tests/auto/quick/qquickpincharea/data/pinchproperties.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qquickpincharea/data/pinchproperties.qml b/tests/auto/quick/qquickpincharea/data/pinchproperties.qml index 899c6380da..42096d0b77 100644 --- a/tests/auto/quick/qquickpincharea/data/pinchproperties.qml +++ b/tests/auto/quick/qquickpincharea/data/pinchproperties.qml @@ -31,18 +31,18 @@ Rectangle { pinch.maximumScale: 2.0 pinch.minimumRotation: 0.0 pinch.maximumRotation: 90.0 - onPinchStarted: { + onPinchStarted: (pinch) => { whiteRect.center = pinch.center whiteRect.scale = pinch.scale whiteRect.pointCount = pinch.pointCount; whiteRect.pinchActive = true; } - onPinchUpdated: { + onPinchUpdated: (pinch) => { whiteRect.center = pinch.center whiteRect.scale = pinch.scale whiteRect.pointCount = pinch.pointCount; } - onPinchFinished: { + onPinchFinished: (pinch) => { whiteRect.center = pinch.center whiteRect.scale = pinch.scale whiteRect.pointCount = pinch.pointCount; |