WindowManager: Hide tray icon on close

This commit is contained in:
tobtoht 2021-05-25 15:15:19 +02:00
parent 2d4ccd7019
commit e49b5667bb
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -56,7 +56,10 @@ void WindowManager::close() {
for (const auto &window: m_windows) { for (const auto &window: m_windows) {
window->close(); window->close();
} }
torManager()->stop(); torManager()->stop();
m_tray->hide();
QApplication::quit(); QApplication::quit();
} }