From 2404eb37bc8df5e375ca09362cc7fd3f5fdbc99d Mon Sep 17 00:00:00 2001 From: Rick Stockton Date: Mon, 19 Mar 2012 15:10:36 -0700 Subject: 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 Reviewed-by: Alan Alpert --- src/declarative/graphicsitems/qdeclarativemousearea.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3