diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-19 16:52:11 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-20 13:10:04 (GMT) |
commit | 7a667dd45130142589c6a72f663ee647b1e563fd (patch) | |
tree | fc986a741d863c8de826e0937a713b283026b861 /src/gui/graphicsview/qgraphicsscene.cpp | |
parent | cc1486132fcb47f74c132f3f17f7f2759b0ba165 (diff) | |
download | Qt-7a667dd45130142589c6a72f663ee647b1e563fd.zip Qt-7a667dd45130142589c6a72f663ee647b1e563fd.tar.gz Qt-7a667dd45130142589c6a72f663ee647b1e563fd.tar.bz2 |
Added a simple test for gesture event delivery to graphicsitems
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 1 |
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) { |