Hello
I have encounter following issue.
I have an instance of DaemonTray that is subclass of QSystemTrayIcon
executing following code close whole program ... (Task bar icon disappears)
Qt Code:
DaemonTray::config() { ConfigDialog dialog; dialog.exec() }To copy to clipboard, switch view to plain text mode
When I close the dialog with close() or reject() or clicking on X button on the dialog .. the whole application is closed.
I find out that reason is in QApplication::quitOnLastWindowClosed() which is default set to true. But the above behaviour occurs only on windows on linux with the same tools gcc 3.4.5 and Qt 4.2.2 application does not close ... can anybody explain to me what makes that difference ???
Bookmarks