summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-10-16 05:58:15 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-10-16 05:58:15 (GMT)
commit9e94da3f1e49ba61c1ce8d42164addf6c1c75455 (patch)
tree5803d248fcda80235613c6e3707683ad7d558307 /src/declarative
parent2eb67032ea81aa105a854644f337ad5377c2994e (diff)
downloadQt-9e94da3f1e49ba61c1ce8d42164addf6c1c75455.zip
Qt-9e94da3f1e49ba61c1ce8d42164addf6c1c75455.tar.gz
Qt-9e94da3f1e49ba61c1ce8d42164addf6c1c75455.tar.bz2
Make sure we remove keepMouseGrab once the button is released.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/fx/qfxmouseregion.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxmouseregion.cpp b/src/declarative/fx/qfxmouseregion.cpp
index d3c776f..4b31fd4 100644
--- a/src/declarative/fx/qfxmouseregion.cpp
+++ b/src/declarative/fx/qfxmouseregion.cpp
@@ -440,6 +440,7 @@ void QFxMouseRegion::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
// If we don't accept hover, we need to reset containsMouse.
if (!acceptHoverEvents())
setHovered(false);
+ setKeepMouseGrab(false);
}
}