From 61884594ceff59279abe5530c8c1af1870dc8fbb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 6 Oct 2022 18:34:03 +0200 Subject: Revert "options/value: add `QObject::connect` wrapper" This reverts commit a67e8630caf20e7f48151024e9e68dd9271d75c7. --- filter-kalman/kalman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filter-kalman') diff --git a/filter-kalman/kalman.cpp b/filter-kalman/kalman.cpp index a7d7aad8..1960e0f6 100644 --- a/filter-kalman/kalman.cpp +++ b/filter-kalman/kalman.cpp @@ -265,8 +265,8 @@ dialog_kalman::dialog_kalman() tie_setting(s.noise_rot_slider_value, ui.noiseRotSlider); tie_setting(s.noise_pos_slider_value, ui.noisePosSlider); - s.noise_rot_slider_value.connect_to(this, &dialog_kalman::updateLabels); - s.noise_pos_slider_value.connect_to(this, &dialog_kalman::updateLabels); + connect(&s.noise_rot_slider_value, SIGNAL(valueChanged(const slider_value&)), this, SLOT(updateLabels(const slider_value&))); + connect(&s.noise_pos_slider_value, SIGNAL(valueChanged(const slider_value&)), this, SLOT(updateLabels(const slider_value&))); updateLabels(slider_value()); } -- cgit v1.2.3