summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp
index 8e5ebdb..53feb9e 100644
--- a/src/gui/graphicsview/qgraphicsscene.cpp
+++ b/src/gui/graphicsview/qgraphicsscene.cpp
@@ -3945,6 +3945,7 @@ bool QGraphicsScene::event(QEvent *event)
it != e; ++it) {
QGesture *g = *it;
QGesturePrivate *gd = g->d_func();
+ gd->graphicsItem = 0;
QList<QGraphicsItem*> itemsInGestureArea = items(g->hotSpot());
const QString gestureName = g->type();
foreach(QGraphicsItem *item, itemsInGestureArea) {