Remove tray icon before exiting (not automatic on windows)

This commit is contained in:
Jean-Francois Dockes 2019-03-06 11:15:29 +01:00
parent fb35048f82
commit edcda3f9bd

View File

@ -645,6 +645,9 @@ void RclMain::closeEvent(QCloseEvent *ev)
void RclMain::fileExit()
{
LOGDEB("RclMain: fileExit\n");
if (m_trayicon) {
m_trayicon->setVisible(false);
}
// Don't save geometry if we're currently fullscreened
if (!isFullScreen() && !isMaximized()) {
prefs.mainwidth = width();