From 63a2c2bc5c592e28de4090be861d8e2c7e0062a0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Jan 2020 15:17:35 +0100 Subject: opentrack: fix tray condition Fixes #1032 --- opentrack/main-window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opentrack/main-window.cpp') 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, -- cgit v1.2.3