problem with the trayicon , when application is closed the icon still in the tray
i have problem that the icon doesn’t clean it self after i close my application and make sure to clean the icon from the tray
the icon still remain there , only after i move my mouse pointer over the icon it disappear .
how can i prevent it to stay there after application closing , im using windows xp 32 sp 2?
You have to manually hide the tray icon (for example at the closeEvent of the main window).
- void MainWidget::closeEvent(QCloseEvent* event)