From 16012cb1eb5ad7bb893bb3168fb3aec1608b8e56 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 15 Oct 2021 23:59:11 +0200 Subject: tracker/pt: remove dead code --- tracker-pt/ftnoir_tracker_pt_dialog.cpp | 6 ++---- tracker-pt/ftnoir_tracker_pt_dialog.h | 2 -- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'tracker-pt') diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index 5e95b533..1afd7ad4 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -91,8 +91,6 @@ TrackerDialog_PT::TrackerDialog_PT(const QString& module_name) : poll_tracker_info_impl(); - connect(this, &TrackerDialog_PT::poll_tracker_info, this, &TrackerDialog_PT::poll_tracker_info_impl, Qt::DirectConnection); - constexpr pt_color_type color_types[] = { pt_color_average, pt_color_natural, @@ -278,7 +276,7 @@ void TrackerDialog_PT::register_tracker(ITracker *t) { tracker = static_cast(t); ui.tcalib_button->setEnabled(true); - poll_tracker_info(); + poll_tracker_info_impl(); timer.start(); } @@ -286,7 +284,7 @@ void TrackerDialog_PT::unregister_tracker() { tracker = nullptr; ui.tcalib_button->setEnabled(false); - poll_tracker_info(); + poll_tracker_info_impl(); timer.stop(); } diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.h b/tracker-pt/ftnoir_tracker_pt_dialog.h index 66981ee6..ed82d3c4 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.h +++ b/tracker-pt/ftnoir_tracker_pt_dialog.h @@ -36,8 +36,6 @@ public slots: void poll_tracker_info_impl(); void set_camera_settings_available(const QString& camera_name); void show_camera_settings(); -signals: - void poll_tracker_info(); protected: QString threshold_display_text(int threshold_value); -- cgit v1.2.3