summaryrefslogtreecommitdiffstats
path: root/demos/qtdemo
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-06-25 17:35:34 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-06-25 17:35:34 (GMT)
commitaaa7dd6200ce272ea1e3dd78148844200ac698a7 (patch)
tree8259a54ee1ea72c93353a64176c51927ae51ee91 /demos/qtdemo
parent46b53708a668e317de5a0f77d8dfd6ba632290e3 (diff)
downloadQt-aaa7dd6200ce272ea1e3dd78148844200ac698a7.zip
Qt-aaa7dd6200ce272ea1e3dd78148844200ac698a7.tar.gz
Qt-aaa7dd6200ce272ea1e3dd78148844200ac698a7.tar.bz2
Tweak Qt Demo Behaviour
Don't close on right click inside the demo.
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 1fea4a8..e15d33c 100644
--- a/demos/qtdemo/qmlShell.qml
+++ b/demos/qtdemo/qmlShell.qml
@@ -99,6 +99,7 @@ Item {
}
MouseArea{
anchors.fill: parent
+ acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton
onClicked: loader.focus=true;/* and don't propogate to the 'exit' area*/
}