From 432fc3796206d47da152910ba3e00bcc7a16911d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 17 Dec 2021 18:49:53 +0100 Subject: opentrack: simplify embeddable dialog logic --- opentrack/main-window.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opentrack/main-window.hpp') diff --git a/opentrack/main-window.hpp b/opentrack/main-window.hpp index 0cc1b727..33398d20 100644 --- a/opentrack/main-window.hpp +++ b/opentrack/main-window.hpp @@ -83,6 +83,7 @@ class main_window final : public QMainWindow, private State qt_sig::nullary toggle_tracker { this, &main_window::toggle_tracker_, Qt::QueuedConnection }; qt_sig::nullary restart_tracker { this, &main_window::restart_tracker_, Qt::QueuedConnection }; +public: void init_dylibs(); void init_tray_menu(); void init_profiles(); @@ -110,7 +111,7 @@ class main_window final : public QMainWindow, private State void show_proto_settings() { show_proto_settings_(true); } void show_filter_settings() { show_filter_settings_(true); } - void show_options_dialog(); + void show_options_dialog(bool show); void show_mapping_window(); void show_pose(); -- cgit v1.2.3