summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/documentationGroups.dox
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-12-11 10:38:19 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-12-11 12:02:32 (GMT)
commit05ba6bad6c0927d22ccf026446dfdb9d85b3f03e (patch)
treea571739da8bb9f706d6623a6e72fd01367ee3fec /src/xmlpatterns/documentationGroups.dox
parentbafc505ea03ff423c02e0380ba6f255e160483a1 (diff)
downloadQt-05ba6bad6c0927d22ccf026446dfdb9d85b3f03e.zip
Qt-05ba6bad6c0927d22ccf026446dfdb9d85b3f03e.tar.gz
Qt-05ba6bad6c0927d22ccf026446dfdb9d85b3f03e.tar.bz2
Fix crashes when deleting QWidgets and QGraphicsItems in touch event handlers.
Use QWeakPointer to bail out early if a widget is deleted while we are delivering/propagating a TouchBegin event. In QGraphicsScene, we need to make sure that we clear the scene's active touch points for items that are removed from the scene. This allows us to detect when an item is removed during TouchBegin event delivery/propagation. Unlike QWidget, propagation continues since we use a hit-test instead of the item's hierarchy for propagation. Task-number: QTBUG-6654 Reviewed-by: bnilsen
Diffstat (limited to 'src/xmlpatterns/documentationGroups.dox')
0 files changed, 0 insertions, 0 deletions