diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-03-22 07:04:46 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-03-24 08:29:00 (GMT) |
commit | b6b1dee9460d6fdde0b8ad005301c0a315ad30bf (patch) | |
tree | 688822268433c0c37a7d8282a132a450b1150f03 /src/testlib | |
parent | 67dd6de344710d1c0a21e9dbc803a1d0c95e05b7 (diff) | |
download | Qt-b6b1dee9460d6fdde0b8ad005301c0a315ad30bf.zip Qt-b6b1dee9460d6fdde0b8ad005301c0a315ad30bf.tar.gz Qt-b6b1dee9460d6fdde0b8ad005301c0a315ad30bf.tar.bz2 |
Fix a crash when reparenting an item in QGraphicsView.
Before calling addItem we need to invalidate the depth otherwise if
someone call anything relating to sorting when itemChange is called
(because of the scene change for instance) then qt_closestItemFirst
for example can crash because of an invalid state.
Task-number:QTBUG-6932
Reviewed-by:janarve
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions