Hi all, I've got a dialog window that can open one or more sub windows. These sub windows are subclasses of QMainWindow. My question is if it's convenient to delete the main windows everytime they are closed or let the application to delete them when the dialog (the parent of the main windows) is closed.

Thanks.