From b9d34a26d35d05f793161e54001329edb5122a81 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Feb 2019 10:25:25 +0100 Subject: opentrack: use in-header initializer --- variant/default/main-window.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'variant/default/main-window.cpp') 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); -- cgit v1.2.3