Make NeoChat not shut down when disabling close-to-tray

This commit is contained in:
Tobias Fella
2023-11-12 01:45:08 +01:00
parent 67fb5d0824
commit 7fe2feb1e4

View File

@@ -320,7 +320,6 @@ void Controller::setQuitOnLastWindowClosed()
m_trayIcon = nullptr;
}
}
QGuiApplication::setQuitOnLastWindowClosed(!NeoChatConfig::self()->systemTray());
#else
return;
#endif