tonnot
7th July 2011, 09:41
I have this line to control if the application is going to be finished,
connect(QApplication::instance(), SIGNAL(aboutToQuit()),this,SLOT(control_quit()));
control_quit show a confirmation message.
I have two problems :
1.- The main window (where I have the connect...) dissapears during the proccess. How can avoid this ?
2.-How can I cancel the exiting ?
Thanks
connect(QApplication::instance(), SIGNAL(aboutToQuit()),this,SLOT(control_quit()));
control_quit show a confirmation message.
I have two problems :
1.- The main window (where I have the connect...) dissapears during the proccess. How can avoid this ?
2.-How can I cancel the exiting ?
Thanks