summaryrefslogtreecommitdiffstats
path: root/demos/qtdemo
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-06-24 17:45:40 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-06-24 17:45:40 (GMT)
commit46b53708a668e317de5a0f77d8dfd6ba632290e3 (patch)
tree6512b26b5cc7907192c445b3d28f4645f8e0664f /demos/qtdemo
parent2b61fd0d8720bf34ce7f2d4124fbac0ad306090e (diff)
downloadQt-46b53708a668e317de5a0f77d8dfd6ba632290e3.zip
Qt-46b53708a668e317de5a0f77d8dfd6ba632290e3.tar.gz
Qt-46b53708a668e317de5a0f77d8dfd6ba632290e3.tar.bz2
Stop other mouse buttons propagating
Diffstat (limited to 'demos/qtdemo')
-rw-r--r--demos/qtdemo/qmlShell.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/qtdemo/qmlShell.qml b/demos/qtdemo/qmlShell.qml
index f168ccc..1fea4a8 100644
--- a/demos/qtdemo/qmlShell.qml
+++ b/demos/qtdemo/qmlShell.qml
@@ -145,6 +145,7 @@ Item {
z: 8
enabled: main.show
hoverEnabled: main.show //To steal focus from the buttons
+ acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton
anchors.fill: parent
onClicked: main.show=false;
}