summaryrefslogtreecommitdiffstats
path: root/src/openvg
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-12-09 15:07:13 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-12-09 15:55:19 (GMT)
commit293db01f907ad8644e8242055521e6b8e7c4dfec (patch)
tree5c872a9bdcf7dd4742e8fbcfd7c0835cab59a8b5 /src/openvg
parent0dfb4c79dd6fb23fea5277c687485d43b0f91e3f (diff)
downloadQt-293db01f907ad8644e8242055521e6b8e7c4dfec.zip
Qt-293db01f907ad8644e8242055521e6b8e7c4dfec.tar.gz
Qt-293db01f907ad8644e8242055521e6b8e7c4dfec.tar.bz2
Fix a crash on the focus chain when removing items from the scene.
The crash was because of the dangling pointer set on the tabFocusFirst attribute in QGraphicsScene. A child which was the tabFocusFirst was removed from the scene and fixFocusChainBeforeReparenting was setting the new tabFocusFirst pointer to the parent (since in that example it was the focusNext) but later on the parent was removed also from the scene (due to the recursion of removeItem if you call it with the parent : first children, then the parent itself) and fixFocusChainBeforeReparenting was not called again so if you delete the parent then the scene has the dangling pointer set. Task-number:QTBUG-6544 Reviewed-by:janarve
Diffstat (limited to 'src/openvg')
0 files changed, 0 insertions, 0 deletions