chore(cpn): align general settings naming to radio (#4654)

This commit is contained in:
Neil Horne
2024-02-27 11:33:17 +10:00
committed by GitHub
parent 2bef12996f
commit b3c09dd35a
8 changed files with 43 additions and 27 deletions
+3 -3
View File
@@ -328,7 +328,7 @@ ui(new Ui::GeneralSetup)
}
ui->switchesDelay->setValue(10*(generalSettings.switchesDelay+15));
ui->blAlarm_ChkB->setChecked(generalSettings.flashBeep);
ui->blAlarm_ChkB->setChecked(generalSettings.alarmsFlash);
if (!firmware->getCapability(HasBatMeterRange)) {
ui->batMeterRangeLabel->hide();
@@ -375,7 +375,7 @@ void GeneralSetupPanel::populateVoiceLangCB()
{
QComboBox * b = ui->voiceLang_CB;
// Note: these align with the radio NOT computer locales - TODO harmonise with ISO and one list!!!
static QString strings[][2] = {
static QString strings[][2] = {
{ tr("Chinese"), "cn" },
{ tr("Czech"), "cz" },
{ tr("Danish"), "da" },
@@ -868,7 +868,7 @@ void GeneralSetupPanel::unlockSwitchEdited()
void GeneralSetupPanel::on_blAlarm_ChkB_stateChanged()
{
generalSettings.flashBeep = ui->blAlarm_ChkB->isChecked();
generalSettings.alarmsFlash = ui->blAlarm_ChkB->isChecked();
emit modified();
}