hi again,
If you turned off automatic application termination feature of qt, you shall terminate it on your own.
connect(qApp,
SIGNAL(lastWindowClosed(void)),
this,
SLOT(closeIfNoTryIcon(void)));
*::closeIfNoTryIcon(void)
{
if(/*there's no try icon shown*/)
qApp->quit()
}
connect(qApp,
SIGNAL(lastWindowClosed(void)),
this,
SLOT(closeIfNoTryIcon(void)));
*::closeIfNoTryIcon(void)
{
if(/*there's no try icon shown*/)
qApp->quit()
}
To copy to clipboard, switch view to plain text mode
If you turned off automatic application termination feature of qt, you shall terminate it on your own.
Bookmarks