[Qt-interest] application won't terminate
Ferenc Stelcz
ferenc at stelcz.hu
Sun Jan 3 21:46:33 CET 2010
Forgot the other (possible) solution:
On 2010.01.03. 7:49 du., Kurtis Nusbaum wrote:
>
> Main function:
> int main(int argc, char *argv[])
> {
> QApplication a(argc, argv);
> MainWindow w;
> w.show();
> w.checkPassword();
++ QObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()));
> return a.exec();
> }
>
>
--
Ferenc Stelcz
Ventyx Asset Suite 6 systems administrator
More information about the Qt-interest-old
mailing list