From e49b5667bb9a7b383deed6b249950f155edb1745 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 25 May 2021 15:15:19 +0200 Subject: [PATCH] WindowManager: Hide tray icon on close --- src/WindowManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/WindowManager.cpp b/src/WindowManager.cpp index f01219c..1091bb0 100644 --- a/src/WindowManager.cpp +++ b/src/WindowManager.cpp @@ -56,7 +56,10 @@ void WindowManager::close() { for (const auto &window: m_windows) { window->close(); } + torManager()->stop(); + m_tray->hide(); + QApplication::quit(); }