summaryrefslogtreecommitdiffstats
path: root/mkspecs/tru64-g++
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-10-28 08:42:14 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-10-28 08:56:11 (GMT)
commit08e5bae295204ac0cadc1dda6c7a01599f66a2bb (patch)
tree5295f92e3d03ab4ed7761a7f81c581121af811f0 /mkspecs/tru64-g++
parentdf0001a3d62938c713b351c7e59228b803ec5670 (diff)
downloadQt-08e5bae295204ac0cadc1dda6c7a01599f66a2bb.zip
Qt-08e5bae295204ac0cadc1dda6c7a01599f66a2bb.tar.gz
Qt-08e5bae295204ac0cadc1dda6c7a01599f66a2bb.tar.bz2
Let QGraphicsItem set QObjectPrivate::wasDeleted when appropriate.
This change allows children of QGraphicsObject-derived classes to check if the parent is being deleted by checking the private flag wasDeleted. Reverts 37b16d5cbb4e7bc534f690ebf50434d228b5ecfc, p4 change 9681, to allow QGraphicsItem to set QObjectPrivate's wasDeleted member before entering QObjectPrivate's destructor. The original code was in there to let the user know, via the console output, that QObject was double-deleted (e.g., when placing QObject on the stack, and also giving it a parent, so that if the parent is deleted first, bang). Reviewed-by: Aaron Kennedy Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'mkspecs/tru64-g++')
0 files changed, 0 insertions, 0 deletions