diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-05-11 05:56:42 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-05-11 05:56:42 (GMT) |
commit | 7f22443b3cb6cd56a906dbb6edb0c2f7a1314887 (patch) | |
tree | 225963a06f48e31a926b0addc7d9a87f8ac9230a /src/declarative | |
parent | 7e71c79bd6dcc1c8608ebb0570b455372f5f7eaf (diff) | |
download | Qt-7f22443b3cb6cd56a906dbb6edb0c2f7a1314887.zip Qt-7f22443b3cb6cd56a906dbb6edb0c2f7a1314887.tar.gz Qt-7f22443b3cb6cd56a906dbb6edb0c2f7a1314887.tar.bz2 |
Fix double-click AND flicking.
Re-do of dae02071a9e985b3ea847f08af6849ff2daad3c3
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/canvas/qsimplecanvas_graphicsview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/canvas/qsimplecanvas_graphicsview.cpp b/src/declarative/canvas/qsimplecanvas_graphicsview.cpp index 5c6f2f5..dd4012b 100644 --- a/src/declarative/canvas/qsimplecanvas_graphicsview.cpp +++ b/src/declarative/canvas/qsimplecanvas_graphicsview.cpp @@ -110,6 +110,7 @@ void QSimpleGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) p = p->parent(); } owner->mouseReleaseEvent(event); + ungrabMouse(); } void QSimpleGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) |