diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-06-21 11:05:00 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-06-21 11:05:00 (GMT) |
commit | f0b74a1e78ccf52b0f6d7c13738918baff0eeef4 (patch) | |
tree | 9d6591ba330b685fef56ff233bf69734cd08aee6 | |
parent | 1531db939b31df30d92c95072afdafbed999ffe0 (diff) | |
download | Qt-f0b74a1e78ccf52b0f6d7c13738918baff0eeef4.zip Qt-f0b74a1e78ccf52b0f6d7c13738918baff0eeef4.tar.gz Qt-f0b74a1e78ccf52b0f6d7c13738918baff0eeef4.tar.bz2 |
Only steal hover events when enabled, in QtDemo's qml integration
Not sure whether it was the correct behaviour for a MouseArea to have
when enabled is false but hoverEnabled is true, that it would still get
hover events. But the current behaviour is unambigious and correct.
Task-number: QTBUG-11564
-rw-r--r-- | demos/qtdemo/qmlShell.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/qtdemo/qmlShell.qml b/demos/qtdemo/qmlShell.qml index bc46786..4ac6c97 100644 --- a/demos/qtdemo/qmlShell.qml +++ b/demos/qtdemo/qmlShell.qml @@ -143,7 +143,7 @@ Item { MouseArea{ z: 8 enabled: main.show - hoverEnabled: true //To steal focus from the buttons + hoverEnabled: main.show //To steal focus from the buttons anchors.fill: parent onClicked: main.show=false; } |