summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-03 10:25:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-03 10:25:25 +0100
commitb9d34a26d35d05f793161e54001329edb5122a81 (patch)
tree0ea88c5352010265a89ab44afc29656a792c9e98 /variant/default/main-window.cpp
parentf7481e685dc45c9eff0245249a8a83da79d6808c (diff)
opentrack: use in-header initializer
Diffstat (limited to 'variant/default/main-window.cpp')
-rw-r--r--variant/default/main-window.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index 44f6c892..9442ec14 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -31,11 +31,7 @@ extern "C" const char* const opentrack_version;
using namespace options::globals;
using namespace options;
-main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH),
- start_tracker{this, &main_window::start_tracker_, Qt::QueuedConnection},
- stop_tracker{this, &main_window::stop_tracker_, Qt::QueuedConnection},
- toggle_tracker{this, &main_window::toggle_tracker_, Qt::QueuedConnection},
- restart_tracker{this, &main_window::restart_tracker_, Qt::QueuedConnection}
+main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH)
{
ui.setupUi(this);