Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
windows 7
-
7d09f690d5b4c56699092444665d1879deb86a6e
Description
Attached is a sample program that demonstrates a crash in QGraphicsScene::addItem(). After adding a couple of items, and then removing and deleting those items, the subsequent call to add item causes a crash. This is related to #QTBUG-6544, but is still reproducible in qt 4.7 beta 2. QGraphicsScenePrivate::tabFocusFirst member can end up being a dangling pointer.