diff options
author | Michael Hasselmann <michaelh@openismus.com> | 2011-04-01 09:27:07 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-04-01 09:27:07 (GMT) |
commit | 777e1c5a18ba1d738d2394d157c2cc27d88ba3f5 (patch) | |
tree | 906e0f5a4d85e155db07b3909e708d54a80be96c /src/gui/graphicsview | |
parent | 97f030d8e314010b141604b71821f4c83a66f6a8 (diff) | |
download | Qt-777e1c5a18ba1d738d2394d157c2cc27d88ba3f5.zip Qt-777e1c5a18ba1d738d2394d157c2cc27d88ba3f5.tar.gz Qt-777e1c5a18ba1d738d2394d157c2cc27d88ba3f5.tar.bz2 |
QGraphicsItem::ItemStops[ClickFocusProgration|FocusHandling] must not interfer with touch event propagation
Both flags are only supposed to affect focus handling but not the regular touch
event propagation. In this case, touch begin events were not propagated to any
item beneath the one carrying those flags.
Merge-request: 2588
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp index 85a4e16..c0a4bf9 100644 --- a/src/gui/graphicsview/qgraphicsscene.cpp +++ b/src/gui/graphicsview/qgraphicsscene.cpp @@ -5983,9 +5983,6 @@ bool QGraphicsScenePrivate::sendTouchBeginEvent(QGraphicsItem *origin, QTouchEve } if (item && item->isPanel()) break; - if (item && (item->d_ptr->flags - & (QGraphicsItem::ItemStopsClickFocusPropagation | QGraphicsItem::ItemStopsFocusHandling))) - break; } touchEvent->setAccepted(eventAccepted); |