aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickmousearea.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2014-03-04 12:52:10 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-07 08:03:40 +0100
commitcbfa1d13608f005456c701679b42a899039bd8f5 (patch)
treedc4d62049406d43b64f7a20234e91d294839bfda /src/quick/items/qquickmousearea.cpp
parent9c182685a5209cb12c2eabe767d34bbeda480812 (diff)
MouseArea: make clear containsMouse requires the cursor to be inside
Task-number: QTBUG-37133 Change-Id: I5d0943963bf423c3f930365502e42b54a71d9e88 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/quick/items/qquickmousearea.cpp')
-rw-r--r--src/quick/items/qquickmousearea.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quick/items/qquickmousearea.cpp b/src/quick/items/qquickmousearea.cpp
index f07571d3cc..a8aadb9eed 100644
--- a/src/quick/items/qquickmousearea.cpp
+++ b/src/quick/items/qquickmousearea.cpp
@@ -1013,7 +1013,8 @@ void QQuickMouseArea::setHoverEnabled(bool h)
This property holds whether the mouse is currently inside the mouse area.
\warning This property is not updated if the area moves under the mouse: \e containsMouse will not change.
- In addition, if hoverEnabled is false, containsMouse will only be valid when the mouse is pressed.
+ In addition, if hoverEnabled is false, containsMouse will only be valid
+ when the mouse is pressed while the mouse cursor is inside the MouseArea.
*/
bool QQuickMouseArea::hovered() const
{