summaryrefslogtreecommitdiffstats
path: root/src/plugins/phonon/waveout
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-08-13 10:20:52 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-08-13 13:42:01 (GMT)
commitff01481900f1d19d392c8ed8fe0f3b5c85751b8e (patch)
tree7746aaea3d97643637096049ee5dcc12412b6657 /src/plugins/phonon/waveout
parent547af9bf8a2ec074a698f0b92ec9e2a1a935eb14 (diff)
downloadQt-ff01481900f1d19d392c8ed8fe0f3b5c85751b8e.zip
Qt-ff01481900f1d19d392c8ed8fe0f3b5c85751b8e.tar.gz
Qt-ff01481900f1d19d392c8ed8fe0f3b5c85751b8e.tar.bz2
Fix focus proxy deletion bugs/crashes in QGraphicsItem.
This change would have been much simpler if either QGraphicsItem inherited QObject, or if we had some similar QPointer-like class that supported QGraphicsItem. The issue is this: Each item can delegate another item to be its focus proxy. That item can be a parent or child, or something completely unrelated. Either of the two items can be deleted independently. The former solution was to store backpointers in a map in the scene. Problem is, the items may not be in a scene when this happens, they may be removed from the scene, and the items may be moved between two scenes. The bad part about this fix is that it adds another pointer to QGraphicsItemPrivate. Reviewed-by: Shane Kearns <shane.kearns@sosco.com>
Diffstat (limited to 'src/plugins/phonon/waveout')
0 files changed, 0 insertions, 0 deletions