From 46b53708a668e317de5a0f77d8dfd6ba632290e3 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Thu, 24 Jun 2010 19:45:40 +0200 Subject: Stop other mouse buttons propagating --- demos/qtdemo/qmlShell.qml | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v0.12