Prevent app (with systray icon) from closing when last window is closed.
I made a small app that has a systray icon from where one can launch windows. My problem is that when I close the last window,
the application closes as well. How can I prevent this so that the user has to rightclick the tray icon and click quite? (the "quit" isn't the issue, only keeping the app alive) Thanks
Reimplement closeEvent of your main widget
void closeEvent(QCloseEvent *);@
@void TEST::closeEvent(QCloseEvent * e)
Argh, sorry, havn't read you post exactly :)