Hi, i have a class A which is a QWidget (a window) which contains a QSystemTrayIcon. In the constructor of class A the QSystemTrayIcon is generated and shown. The window (class A) itself is hidden. A click on the QSystemTrayIcon toggles the visibility of the window.
Moreover the QSystemTrayIcon has a context menu with an item "About...". A click on the menu item generates an object B (extends QDialog) and shows it: B.exec(). So far, so good :-) All works fine. If the window A is open and i open the About-Dialog via the TrayIcon-Context-Menu and then close the About-Dialog, all works fine. But if the main window A is not shown (only the tray icon of this class is shown) and i open + close the About-dialog, my program quits. So the application is quit if i close the About-dialog and the main window is not shown. The running tray-icon seems to be ignored. What can i do to keep my program running? Regards, Manuel _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
