diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 18:34:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-10 10:31:58 +0200 |
commit | 61884594ceff59279abe5530c8c1af1870dc8fbb (patch) | |
tree | c896d862a5dee2ea1647ab9f68961381339fc669 /filter-kalman/kalman.cpp | |
parent | 4ad996e116e78dd5f03c1ec47df2d380f6e23a68 (diff) |
Revert "options/value: add `QObject::connect` wrapper"
This reverts commit a67e8630caf20e7f48151024e9e68dd9271d75c7.
Diffstat (limited to 'filter-kalman/kalman.cpp')
-rw-r--r-- | filter-kalman/kalman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } |