tbscope, thanks!

By the way, that means that if I decide to keep some pointers, they will become invalid, when scene gets deleted, or null, if they're smart pointers (QPointer), doesn't it?