Fixes crash in QGraphicsItem's destructor.
authorYoann Lopes <yoann.lopes@nokia.com>
Fri, 7 Jan 2011 13:29:38 +0000 (14:29 +0100)
committerYoann Lopes <yoann.lopes@nokia.com>
Fri, 7 Jan 2011 13:29:38 +0000 (14:29 +0100)
commit8ffb49a4ac68b1c243b25343053e6e99f97ec2e7
tree9d50f23c3c614e358bdd903a54970701bf851e23
parent67267842ce658d956f11d52194566b6de1f84f9a
Fixes crash in QGraphicsItem's destructor.

Crash introduced by 783a278f243c6411f5f32d11f2165b9eed9b6f8c.
Autotest written by Niklas Kurkisuo <ext-niklas.kurkisuo@nokia.com>

Task-number: QTBUG-16374
Reviewed-by: TrustMe
src/gui/graphicsview/qgraphicsitem.cpp
tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp