summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-08-21 03:18:53 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-08-21 03:18:53 (GMT)
commit61486c42722a6ab5701c331645d6c25bce81a17e (patch)
tree77b1e914fda0e4fd113bfbf96d7b87556a58d7b8 /doc
parent549b45cd6b8201daaf889986278c75a6c7f62cf8 (diff)
parent1d9ae86dda99d8f0eb4949d3779777e795eb52be (diff)
downloadQt-61486c42722a6ab5701c331645d6c25bce81a17e.zip
Qt-61486c42722a6ab5701c331645d6c25bce81a17e.tar.gz
Qt-61486c42722a6ab5701c331645d6c25bce81a17e.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc')
-rw-r--r--doc/src/snippets/declarative/mouseregion.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/mouseregion.qml b/doc/src/snippets/declarative/mouseregion.qml
index 6d8f179..67857f5 100644
--- a/doc/src/snippets/declarative/mouseregion.qml
+++ b/doc/src/snippets/declarative/mouseregion.qml
@@ -12,6 +12,7 @@ Rectangle {
width: 100; height: 100; color: "green"
MouseRegion {
anchors.fill: parent
+ acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: {
if (mouse.button == Qt.RightButton)
parent.color = 'blue';