summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxflickable.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-13 22:24:29 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-13 22:24:29 (GMT)
commit4cc84829f500827bcf22eecc1558ad86ac106552 (patch)
treed67d665b6f7a4d2b8f07a307aba0e1b0541a18fd /src/declarative/fx/qfxflickable.cpp
parent18fca750131302f9b89081ebf50b12221c922f6f (diff)
downloadQt-4cc84829f500827bcf22eecc1558ad86ac106552.zip
Qt-4cc84829f500827bcf22eecc1558ad86ac106552.tar.gz
Qt-4cc84829f500827bcf22eecc1558ad86ac106552.tar.bz2
Fix mouse grabbing for Flickable and PathView.
Diffstat (limited to 'src/declarative/fx/qfxflickable.cpp')
-rw-r--r--src/declarative/fx/qfxflickable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxflickable.cpp b/src/declarative/fx/qfxflickable.cpp
index 47b7aa1..24f6d72 100644
--- a/src/declarative/fx/qfxflickable.cpp
+++ b/src/declarative/fx/qfxflickable.cpp
@@ -740,6 +740,7 @@ void QFxFlickable::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Q_D(QFxFlickable);
d->handleMouseReleaseEvent(event);
event->accept();
+ ungrabMouse();
}
qreal QFxFlickable::minYExtent() const