From b05464749c618b83167e23f8b7046c1d29cbd9a3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Feb 2023 14:26:43 +0100 Subject: opentrack: add back the updater --- opentrack/main-window.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'opentrack/main-window.cpp') diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp index ab8255a8..896247c4 100644 --- a/opentrack/main-window.cpp +++ b/opentrack/main-window.cpp @@ -18,6 +18,7 @@ #include "compat/math.hpp" #include "compat/sysexits.hpp" #include "opentrack/defs.hpp" +#include "software-update-dialog.hpp" #include #include @@ -76,6 +77,10 @@ main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH) #elif defined UI_COMPACT_VIDEO_FEED connect(ui.preview_checkbox, &QCheckBox::toggled, this, &main_window::toggle_video_preview); #endif + + updater = std::make_unique(this); + updater->maybe_show_dialog(); + } void main_window::init_shortcuts() -- cgit v1.2.3