[SOLVED]Application quits if any dialog is invoked and main gui is hidden
-
I tried this using many ways and every time the main application quits.
Suppose the main gui is hidden
@this->hide();@
Now if i right click the tray icon and click "Help" where the code executed is
@helpDialog.show();@
the main application simply quits. I dont know if this is a bug or what, it is causing me a lot of problem. Plz help! -
Might be that is due to QApplication::quitOnLastWindowClose (something like that) is set to true (by default). Try set this on false and quit explicitly when the main window is really closed.