View Full Version : Main Window
sabeesh
6th August 2007, 06:48
Hi,
How can I call a destructor when I close the Main Window?
slcotter
6th August 2007, 07:32
Use the setAttribute method to set Qt::WA_DeleteOnClose to true.
The destructor should then be automatically called when the MainWindow is closed.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.