Fix a few compile warnings

monitor
Phil Taylor 2022-01-05 14:53:12 +00:00
rodzic 9b8221b32e
commit 8bf107fadc
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -199,7 +199,7 @@ void rigCtlClient::socketReadyRead()
response.append("1"); // rigctld protocol version
response.append(QString("%1").arg(rigCaps.rigctlModel));
response.append("0"); // Print something
bandType lastBand;
bandType lastBand=(bandType)-1;
for (bandType band : rigCaps.bands)
{
if (band != lastBand)

Wyświetl plik

@ -1782,17 +1782,17 @@ void wfmain::on_serverEnableCheckbox_clicked(bool checked)
void wfmain::on_serverControlPortText_textChanged(QString text)
{
serverConfig.controlPort = ui->serverControlPortText->text().toInt();
serverConfig.controlPort = text.toInt();
}
void wfmain::on_serverCivPortText_textChanged(QString text)
{
serverConfig.civPort = ui->serverCivPortText->text().toInt();
serverConfig.civPort = text.toInt();
}
void wfmain::on_serverAudioPortText_textChanged(QString text)
{
serverConfig.audioPort = ui->serverAudioPortText->text().toInt();
serverConfig.audioPort = text.toInt();
}
void wfmain::on_serverRXAudioInputCombo_currentIndexChanged(int value)