diff options
Diffstat (limited to 'tests/auto/quickcontrols/pointerhandlers/data/controlandmousearea.qml')
| -rw-r--r-- | tests/auto/quickcontrols/pointerhandlers/data/controlandmousearea.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/pointerhandlers/data/controlandmousearea.qml b/tests/auto/quickcontrols/pointerhandlers/data/controlandmousearea.qml index 00c680453a..730b187e2b 100644 --- a/tests/auto/quickcontrols/pointerhandlers/data/controlandmousearea.qml +++ b/tests/auto/quickcontrols/pointerhandlers/data/controlandmousearea.qml @@ -12,6 +12,7 @@ Item { MouseArea { id: outerMouseArea + objectName: "outerMouseArea" x: 10 y: 10 width: 200 @@ -25,14 +26,18 @@ Item { Button { id: buttonInTheMiddle + objectName: "buttonInTheMiddle" width: parent.width - 20 height: parent.height - 20 anchors.right: parent.right anchors.bottom: parent.bottom text: hovered ? "hovered" : "" + // Explicitly set this, as it's false on platforms like Android. + hoverEnabled: true MouseArea { id: innerMouseArea + objectName: "innerMouseArea" width: parent.width - 20 height: parent.height - 20 anchors.right: parent.right |
