aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickmousearea/data/hoverAfterPress.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickmousearea/data/hoverAfterPress.qml')
-rw-r--r--tests/auto/quick/qquickmousearea/data/hoverAfterPress.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickmousearea/data/hoverAfterPress.qml b/tests/auto/quick/qquickmousearea/data/hoverAfterPress.qml
index 69ec8fbd47..97512d1106 100644
--- a/tests/auto/quick/qquickmousearea/data/hoverAfterPress.qml
+++ b/tests/auto/quick/qquickmousearea/data/hoverAfterPress.qml
@@ -16,7 +16,7 @@ Item {
objectName: "mouseArea"
anchors.fill: parent
hoverEnabled: true
- onPressed: mouse.accepted = false
+ onPressed: function (mouse) { mouse.accepted = false }
//onContainsMouseChanged: print("containsMouse changed =", containsMouse)
Rectangle {