Hi,
I have a console application that uses QCoreApplication, and it is executed using exec():
Qt Code:
int main() { MsDbServer server; server.start(); return qtApp.exec(); }To copy to clipboard, switch view to plain text mode
I want to perform some code clean-up when a user clicks on the "X" button on the top right corner of the console application. How can I detect when this window gets closed in this way?
Thanks
Bookmarks