summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-01-27 15:17:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-01-27 15:17:35 +0100
commit63a2c2bc5c592e28de4090be861d8e2c7e0062a0 (patch)
treef297ac4b9eeb952263c8bda0fdf55b8ed324a242 /opentrack/main-window.cpp
parentbe507c1727c34b72869354d5231839acd5ce2be9 (diff)
opentrack: fix tray condition
Fixes #1032
Diffstat (limited to 'opentrack/main-window.cpp')
-rw-r--r--opentrack/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index 9bacff6e..37beafe3 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -47,7 +47,7 @@ main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH)
init_shortcuts();
init_tray_menu();
- setVisible(start_in_tray());
+ setVisible(!start_in_tray());
ensure_tray();
connect(&pose_update_timer, &QTimer::timeout,