Correct slot function signatures due to Raspberry Pi compile error

This commit is contained in:
Bill Somerville 2020-09-26 21:08:43 +01:00
parent e8808ebc54
commit 32036cd36f
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
2 changed files with 12 additions and 12 deletions

View File

@ -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 ();

View File

@ -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: