diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-12-13 06:09:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-12-13 06:09:52 (GMT) |
commit | ad653d169aaecf6273787a01797c7647a13eec04 (patch) | |
tree | cf2be6b60e321e5371ec84afa6655d0d44052c63 /src/declarative | |
parent | 18b940539d0633f30ae055feedb48aeb15969814 (diff) | |
download | Qt-ad653d169aaecf6273787a01797c7647a13eec04.zip Qt-ad653d169aaecf6273787a01797c7647a13eec04.tar.gz Qt-ad653d169aaecf6273787a01797c7647a13eec04.tar.bz2 |
Fix dragging Flickable back over start point.
Change 810e21d9e404aa2fcb602cb68bfd892387b234e7 caused regression.
Once stealMouse is set to true is must stay that way until release.
Task-number: QTBUG-15998
Reviewed-by: Michael Brasser
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeflickable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflickable.cpp b/src/declarative/graphicsitems/qdeclarativeflickable.cpp index 377f3b5..f1d92c5 100644 --- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp +++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp @@ -700,8 +700,8 @@ void QDeclarativeFlickablePrivate::handleMouseMoveEvent(QGraphicsSceneMouseEvent bool rejectY = false; bool rejectX = false; - bool stealY = false; - bool stealX = false; + bool stealY = stealMouse; + bool stealX = stealMouse; if (q->yflick()) { int dy = int(event->pos().y() - pressPos.y()); |