diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-03 12:06:50 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-09 12:13:24 +0100 |
commit | 195767619e7a7aeeeb33b13420538f687bef0104 (patch) | |
tree | 5701f484f4b8bff13452a192deab76e70ae91196 /variant/default/main-window.hpp | |
parent | e5fdc0dad2609d89dc2a1294ea1c232c33e64785 (diff) |
opentrack: move module list to base class
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r-- | variant/default/main-window.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp index 6333c131..e6b2ed2e 100644 --- a/variant/default/main-window.hpp +++ b/variant/default/main-window.hpp @@ -44,8 +44,6 @@ class main_window final : public QMainWindow, private State Ui::main_window ui; - module_settings m; - std::unique_ptr<QSystemTrayIcon> tray; QMenu tray_menu { this }; @@ -77,13 +75,6 @@ class main_window final : public QMainWindow, private State bool exiting_already { false }; - using dylib_ptr = Modules::dylib_ptr; - using dylib_list = Modules::dylib_list; - - dylib_ptr current_tracker(); - dylib_ptr current_protocol(); - dylib_ptr current_filter(); - qt_sig::nullary start_tracker { this, &main_window::start_tracker_, Qt::QueuedConnection }; qt_sig::nullary stop_tracker { this, &main_window::stop_tracker_, Qt::QueuedConnection }; qt_sig::nullary toggle_tracker { this, &main_window::toggle_tracker_, Qt::QueuedConnection }; @@ -143,7 +134,6 @@ class main_window final : public QMainWindow, private State bool start_in_tray(); void save_modules(); - static std::tuple<dylib_ptr, int> module_by_name(const QString& name, Modules::dylib_list& list); void exit(int status = EXIT_SUCCESS); |