Hey guys,
I am noticing something very odd when using a systray icon. My systray icon, when a menu item gets clicked, triggers an action found in my Main Window class that opens a dialog. When the dialog closes qApp->exec() returns!!! I read the doc on QApplication::exec() and it says:
My "main widget" is my Main Window class that inherits from QMainWindow... but it is thinking it is my dialog! Is there a way to tell it what my main widget is?Enters the main event loop and waits until exit() is called or the main widget is destroyed
Bookmarks