Fix gcc warnings

This commit is contained in:
Jon Beniston 2023-03-03 17:06:19 +00:00
parent 3ca1d1cb11
commit 84e15c587f
2 changed files with 6 additions and 0 deletions

View File

@ -360,6 +360,8 @@ void NavtexDemodGUI::on_rfBW_valueChanged(int value)
void NavtexDemodGUI::on_filterStation_currentIndexChanged(int index)
{
(void) index;
m_settings.m_filterStation = ui->filterStation->currentText();
filter();
applySettings();
@ -367,6 +369,8 @@ void NavtexDemodGUI::on_filterStation_currentIndexChanged(int index)
void NavtexDemodGUI::on_filterType_currentIndexChanged(int index)
{
(void) index;
m_settings.m_filterType = ui->filterType->currentText();
filter();
applySettings();

View File

@ -248,6 +248,8 @@ void RttyDemodGUI::on_suppressCRLF_clicked(bool checked)
void RttyDemodGUI::on_mode_currentIndexChanged(int index)
{
(void) index;
QString mode = ui->mode->currentText();
bool custom = mode == "Custom";