diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2024-03-15 09:57:51 +0200 |
---|---|---|
committer | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2024-03-15 12:19:32 +0200 |
commit | 4d9b6807948d641d36ecdf1c1a2df7365c14f097 (patch) | |
tree | df65bcf8738896c92d42157e29cf5ff8779ca254 /tests/manual | |
parent | f8c0e248a21c5a43a6a118535daae860bfc8f728 (diff) |
Fix overriding FINAL property
Pick-to: 6.7
Fixes: QTBUG-122209
Change-Id: I2492901edcf355772ee2524fcc3109a207105ab2
Reviewed-by: Chris René Lerner <chris.lerner@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml index 30b1087a..1d0e65bf 100644 --- a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml +++ b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml @@ -129,12 +129,12 @@ Item { anchors.fill: parent hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton - property int mouseX: -1 - property int mouseY: -1 + property int mouseXPos: -1 + property int mouseYPos: -1 onPositionChanged: (mouse)=> { - mouseX = mouse.x; - mouseY = mouse.y; + mouseXPos = mouse.x; + mouseYPos = mouse.y; } onWheel: (wheel)=> { @@ -161,7 +161,8 @@ Item { running: true repeat: true onTriggered: { - scatterGraph.scene.selectionQueryPosition = Qt.point(inputArea.mouseX, inputArea.mouseY); + scatterGraph.scene.selectionQueryPosition = Qt.point(inputArea.mouseXPos, + inputArea.mouseYPos); } } } |