Hello,

I am looking at the undo stack example and see that they implement undo on delete by saving the pointer to the object passed to the scene->removeItem( object )

In this case, obviously the destructor of the object isn't called.

WHEN is the destructor actually called?

Is there some hidden auto pointer or some kind of smart garbage collection? Or have I been neglecting the clean up process of all my QGraphicsItems?

In several places I've been calling removeItem() expecting them to be removed from the scene forever. Do I need to call delete on those objects manually?