Quote Originally Posted by nooky59 View Post
Anyway, this is sad but it seems QSystemTrayIcon as the "main widget" or more exactly "main application object" is not the best idea. Modals dialogs can be triggered several time from the QSystemTray as the dialog is not owned by the QSystemTrayIcon which is a QObject and not a QWidget.
Maybe you could create a hidden widget which will be a parent for your dialogs?

Quote Originally Posted by nooky59 View Post
I wonder why they didn't make the QSystemTrayIcon a QWidget child as it is a visual item on which users can interact.
Maybe because you can only put an icon on the system tray on some systems?