[Qt-interest] application won't terminate
Ferenc Stelcz
ferenc at stelcz.hu
Sun Jan 3 21:52:37 CET 2010
Ok, 3rd possible solution and then I'm going to sleep for today :) :)
On 2010.01.03. 9:46 du., Ferenc Stelcz wrote:
> 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);
++ a.setQuitOnLastWindowClosed(true); //But this should already be set to
true by default.
>> MainWindow w;
>> w.show();
>> w.checkPassword();
>> return a.exec();
>> }
>>
>>
>
> --
> Ferenc Stelcz
> Ventyx Asset Suite 6 systems administrator
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list