summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-05-08 19:59:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-05-10 05:01:33 +0200
commitfa7261f124327ccac5212e7fed23cd21cc062fef (patch)
tree0591a8d9d15b1ff241c5b4480072d397c23880c7 /opentrack/main-window.hpp
parenta6c4bab412e45c327c32e56fb77e235bbc9f9d84 (diff)
trackhat: run update check in the background
Diffstat (limited to 'opentrack/main-window.hpp')
-rw-r--r--opentrack/main-window.hpp4
1 files changed, 4 insertions, 0 deletions
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<void> toggle_tracker { this, &main_window::toggle_tracker_, Qt::QueuedConnection };
qt_signal<void> restart_tracker { this, &main_window::restart_tracker_, Qt::QueuedConnection };
+ std::unique_ptr<update_query> updater;
+
public:
void init_dylibs();
void init_tray_menu();