Use the setAttribute method to set Qt::WA_DeleteOnClose to true.
The destructor should then be automatically called when the MainWindow is closed.
Use the setAttribute method to set Qt::WA_DeleteOnClose to true.
The destructor should then be automatically called when the MainWindow is closed.
sabeesh (6th August 2007)
Bookmarks