Remove tray icon before exiting (not automatic on windows)
This commit is contained in:
parent
fb35048f82
commit
edcda3f9bd
@ -645,6 +645,9 @@ void RclMain::closeEvent(QCloseEvent *ev)
|
|||||||
void RclMain::fileExit()
|
void RclMain::fileExit()
|
||||||
{
|
{
|
||||||
LOGDEB("RclMain: fileExit\n");
|
LOGDEB("RclMain: fileExit\n");
|
||||||
|
if (m_trayicon) {
|
||||||
|
m_trayicon->setVisible(false);
|
||||||
|
}
|
||||||
// Don't save geometry if we're currently fullscreened
|
// Don't save geometry if we're currently fullscreened
|
||||||
if (!isFullScreen() && !isMaximized()) {
|
if (!isFullScreen() && !isMaximized()) {
|
||||||
prefs.mainwidth = width();
|
prefs.mainwidth = width();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user