diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-12-09 15:07:13 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-12-09 15:55:19 (GMT) |
commit | 293db01f907ad8644e8242055521e6b8e7c4dfec (patch) | |
tree | 5c872a9bdcf7dd4742e8fbcfd7c0835cab59a8b5 /translations/polish.qph | |
parent | 0dfb4c79dd6fb23fea5277c687485d43b0f91e3f (diff) | |
download | Qt-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 'translations/polish.qph')
0 files changed, 0 insertions, 0 deletions