We don't need to call two times itemChange when an item is deleted.
authorAlexis Menard <alexis.menard@nokia.com>
Tue, 21 Apr 2009 13:25:51 +0000 (15:25 +0200)
committerJason McDonald <jason.mcdonald@nokia.com>
Tue, 21 Apr 2009 23:14:05 +0000 (09:14 +1000)
commitc585c0906e7ffe119231efb77f3681a25ffdba44
tree513cee454430bf6c4d85989acd8c0f2c283d3c95
parent727ca7a3b6a63b7b76ffe03c4eea72fe37ba2def
We don't need to call two times itemChange when an item is deleted.
Previously we were calling two times itemChange on the parent to give
QGraphicsItem::ItemChildAddedChange. We don't need that. One is enough.

BT : yes
Task-number: BT
Reviewed-by: Andreas
(cherry picked from commit 95b7c50e503dd4743e22c35f341aa31105ea7d73)
src/gui/graphicsview/qgraphicsscene.cpp
tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp