From fa7261f124327ccac5212e7fed23cd21cc062fef Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 May 2022 19:59:35 +0200 Subject: trackhat: run update check in the background --- opentrack/main-window.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'opentrack/main-window.hpp') diff --git a/opentrack/main-window.hpp b/opentrack/main-window.hpp index e1724a9d..517c019a 100644 --- a/opentrack/main-window.hpp +++ b/opentrack/main-window.hpp @@ -34,6 +34,8 @@ #include "ui_main-window.h" +class update_query; + class main_window final : public QMainWindow, private State { Q_DECLARE_TR_FUNCTIONS(main_window) @@ -78,6 +80,8 @@ class main_window final : public QMainWindow, private State qt_signal toggle_tracker { this, &main_window::toggle_tracker_, Qt::QueuedConnection }; qt_signal restart_tracker { this, &main_window::restart_tracker_, Qt::QueuedConnection }; + std::unique_ptr updater; + public: void init_dylibs(); void init_tray_menu(); -- cgit v1.2.3