View Single Post
Posts: 124 | Thanked: 10 times | Joined on Jan 2007 @ Italy
#10
Originally Posted by gri View Post
But QObject's have an exception with the deleting: Every QObject deletes it's children when it is deleted. So always do "new QObject(parent)" when possible, then you don't have to care about memory freeing.
where "parent" could be the class containing it? such a widget?
so with this trick i don't need to call explicitly delete on every object but just on "main objects"?!

thanks for help! i'm missing java garbage collector