Hi,
I recently saw the memory of my application grows and never decrease.
It's apparently because when I spawn a QMenu and QDialog I use new operator and never delete them.
I thought close a window deleted them but I was wrong, it's why the DeleteOnClose attribute is there.
But, I saw QMessageBox using static function delete after it's closed, so I guess it has the attribute.
Is QMessageBox the only class which set DeleteOnClose attribute and all other has to be set manually ?
Does QMenu contains the flag by default or it has to be set manually ?
Thanks
Bookmarks