summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-06-21 11:05:00 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-06-21 11:05:00 (GMT)
commitf0b74a1e78ccf52b0f6d7c13738918baff0eeef4 (patch)
tree9d6591ba330b685fef56ff233bf69734cd08aee6
parent1531db939b31df30d92c95072afdafbed999ffe0 (diff)
downloadQt-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.qml2
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;
}