From 32036cd36f0e1600b2b77c9c4922dcd1e33e482c Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 26 Sep 2020 21:08:43 +0100 Subject: [PATCH] Correct slot function signatures due to Raspberry Pi compile error --- widgets/astro.cpp | 12 ++++++------ widgets/astro.h | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/widgets/astro.cpp b/widgets/astro.cpp index cf4a05274..87ca7224f 100644 --- a/widgets/astro.cpp +++ b/widgets/astro.cpp @@ -269,14 +269,14 @@ void Astro::check_split () } } -void Astro::on_rbFullTrack_clicked() +void Astro::on_rbFullTrack_clicked(bool) { m_DopplerMethod = 1; check_split (); Q_EMIT tracking_update (); } -void Astro::on_rbOnDxEcho_clicked() //on_rbOnDxEcho_clicked(bool checked) +void Astro::on_rbOnDxEcho_clicked(bool) { m_DopplerMethod = 4; check_split (); @@ -287,28 +287,28 @@ void Astro::on_rbOnDxEcho_clicked() //on_rbOnDxEcho_clicked(bool checked) Q_EMIT tracking_update (); } -void Astro::on_rbOwnEcho_clicked() +void Astro::on_rbOwnEcho_clicked(bool) { m_DopplerMethod = 3; check_split (); Q_EMIT tracking_update (); } -void Astro::on_rbCallDx_clicked() +void Astro::on_rbCallDx_clicked(bool) { m_DopplerMethod = 5; check_split (); Q_EMIT tracking_update (); } -void Astro::on_rbConstFreqOnMoon_clicked() +void Astro::on_rbConstFreqOnMoon_clicked(bool) { m_DopplerMethod = 2; check_split (); Q_EMIT tracking_update (); } -void Astro::on_rbNoDoppler_clicked() +void Astro::on_rbNoDoppler_clicked(bool) { m_DopplerMethod = 0; Q_EMIT tracking_update (); diff --git a/widgets/astro.h b/widgets/astro.h index 937c11494..a2474072f 100644 --- a/widgets/astro.h +++ b/widgets/astro.h @@ -55,12 +55,12 @@ protected: void closeEvent (QCloseEvent *) override; private slots: - void on_rbConstFreqOnMoon_clicked(); - void on_rbFullTrack_clicked(); - void on_rbOwnEcho_clicked(); - void on_rbNoDoppler_clicked(); - void on_rbOnDxEcho_clicked(); - void on_rbCallDx_clicked(); + void on_rbConstFreqOnMoon_clicked(bool); + void on_rbFullTrack_clicked(bool); + void on_rbOwnEcho_clicked(bool); + void on_rbNoDoppler_clicked(bool); + void on_rbOnDxEcho_clicked(bool); + void on_rbCallDx_clicked(bool); void on_cbDopplerTracking_toggled(bool); private: