aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickmousearea/data/wheel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickmousearea/data/wheel.qml')
-rw-r--r--tests/auto/quick/qquickmousearea/data/wheel.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickmousearea/data/wheel.qml b/tests/auto/quick/qquickmousearea/data/wheel.qml
index 3e0c0c2a48..6cd367b22f 100644
--- a/tests/auto/quick/qquickmousearea/data/wheel.qml
+++ b/tests/auto/quick/qquickmousearea/data/wheel.qml
@@ -14,7 +14,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
- onWheel: {
+ onWheel: function (wheel) {
root.angleDeltaY = wheel.angleDelta.y;
root.mouseX = wheel.x;
root.mouseY = wheel.y;