summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Stockton <rickstockton@reno-computerhelp.com>2012-03-19 15:10:36 -0700
committerQt by Nokia <qt-info@nokia.com>2012-03-20 06:44:38 +0100
commit2404eb37bc8df5e375ca09362cc7fd3f5fdbc99d (patch)
tree2e4b6bf93460e2db8a48b7aa5d045c49114068de
parentbfbfbb8ae1a52de8ebe4d718fe1dd2e2234b8c89 (diff)
Doc Fix- a QML MouseArea Elelment can accept 5 buttons.
Add XButton1 AND Xbutton2 to the list of accepted Buttons. This is only a doco fix, without any code change. On branch 4.8 Change-Id: Ib396ec7707a63123759f1164927f0b63850cebe9 Reviewed-by: Rick Stockton <rickstockton@reno-computerhelp.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
-rw-r--r--src/declarative/graphicsitems/qdeclarativemousearea.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativemousearea.cpp b/src/declarative/graphicsitems/qdeclarativemousearea.cpp
index 3651180653..c653893642 100644
--- a/src/declarative/graphicsitems/qdeclarativemousearea.cpp
+++ b/src/declarative/graphicsitems/qdeclarativemousearea.cpp
@@ -886,6 +886,8 @@ void QDeclarativeMouseArea::setHovered(bool h)
\o Qt.LeftButton
\o Qt.RightButton
\o Qt.MiddleButton
+ \o Qt.XButton1
+ \o Qt.XButton2
\endlist
To accept more than one button the flags can be combined with the