Commit e8cf755f authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Adrien Béraud

app: exit QtCoreApplication and dispose of systray icons on quit

Change-Id: I1a6e823121cf3268049c123e07653da4e424eec9
parent e86fb3c2
......@@ -188,6 +188,12 @@ main(int argc, char *argv[])
delete sem;
});
#endif
return a.exec();
auto ret = a.exec();
QCoreApplication::exit();
GlobalSystemTray::instance().deleteLater();
GlobalSystemTray::instance().hide();
return ret;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment