Remove references transforms have to items in QQuickItem's destructor.
authorMitch Curtis <mitch.curtis@digia.com>
Fri, 22 Aug 2014 07:52:59 +0000 (09:52 +0200)
committerMitch Curtis <mitch.curtis@digia.com>
Mon, 25 Aug 2014 12:41:34 +0000 (14:41 +0200)
commit99fd3a6b22a7eabf2aff656a942b0b7e32093254
tree42dfa3ea9d15a65b14dece777a4f9d0f20a97c2a
parent916ced089f37d96ca8ef1cdb938791247bd44b72
Remove references transforms have to items in QQuickItem's destructor.

In case they try to remove themselves from our list of transforms when
that list has already been destroyed after ~QQuickItem() has run.

Task-number: QTBUG-40877
Change-Id: Ie57f5dd1e8b791846f08629183974c771553c4bf
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/quick/items/qquickitem.cpp
tests/auto/quick/qquickitem/data/objectChildTransform.qml [new file with mode: 0644]
tests/auto/quick/qquickitem/tst_qquickitem.cpp