diff options
Diffstat (limited to 'tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml')
-rw-r--r-- | tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml index d5a8506e..25bf3486 100644 --- a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml +++ b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml @@ -158,12 +158,12 @@ Rectangle { property int mouseX: -1 property int mouseY: -1 - onPositionChanged: { + onPositionChanged: (mouse)=> { mouseX = mouse.x; mouseY = mouse.y; } - onWheel: { + onWheel: (wheel)=> { // Adjust zoom level based on what zoom range we're in. var zoomLevel = scatterGraph.scene.activeCamera.zoomLevel; if (zoomLevel > 100) |