diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-06-24 17:45:40 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-06-24 17:45:40 (GMT) |
commit | 46b53708a668e317de5a0f77d8dfd6ba632290e3 (patch) | |
tree | 6512b26b5cc7907192c445b3d28f4645f8e0664f /demos/qtdemo | |
parent | 2b61fd0d8720bf34ce7f2d4124fbac0ad306090e (diff) | |
download | Qt-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.qml | 1 |
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; } |