summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack/main-window.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index 006d78ed..e7134e08 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -743,9 +743,6 @@ void main_window::toggle_restore_from_tray(QSystemTrayIcon::ActivationReason e)
menu_action_show.setText(!isHidden() ? tr("Show the Octopus") : tr("Hide the Octopus"));
setVisible(is_minimized);
- setHidden(!is_minimized);
-
- setWindowState(is_minimized ? windowState() & ~Qt::WindowMinimized : Qt::WindowNoState);
if (is_minimized)
{