Wording Cosmetics

This commit is contained in:
3djc
2020-01-10 07:13:08 +01:00
parent aba413c419
commit b035c6bb29
3 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -114,11 +114,13 @@ GeneralSettings::GeneralSettings()
speakerVolume = 12; speakerVolume = 12;
} }
if (IS_HORUS(board)) { if (IS_JUMPER_T16(board))
strcpy(bluetoothName, "Horus"); strcpy(bluetoothName, "t16");
else if (IS_HORUS(board)) {
strcpy(bluetoothName, "horus");
} }
else if (IS_TARANIS_X9E(board) || IS_TARANIS_SMALL(board)) { else if (IS_TARANIS_X9E(board) || IS_TARANIS_SMALL(board)) {
strcpy(bluetoothName, "Taranis"); strcpy(bluetoothName, "taranis");
} }
templateSetup = g.profile[g.sessionId()].channelOrder(); templateSetup = g.profile[g.sessionId()].channelOrder();
+1 -1
View File
@@ -1536,7 +1536,7 @@ void MdiChild::writeEeprom() // write to Tx
qDebug() << "Searching for SD card, found" << radioPath; qDebug() << "Searching for SD card, found" << radioPath;
if (radioPath.isEmpty()) { if (radioPath.isEmpty()) {
qDebug() << "MdiChild::writeEeprom(): Horus radio not found"; qDebug() << "MdiChild::writeEeprom(): Horus radio not found";
QMessageBox::critical(this, CPN_STR_TTL_ERROR, tr("Unable to find Horus radio SD card!")); QMessageBox::critical(this, CPN_STR_TTL_ERROR, tr("Unable to find radio SD card!"));
return; return;
} }
if (saveFile(radioPath, false)) { if (saveFile(radioPath, false)) {
+1 -1
View File
@@ -319,7 +319,7 @@ bool readEeprom(const QString & filename, ProgressWidget * progress)
qDebug() << "Searching for SD card, found" << radioPath; qDebug() << "Searching for SD card, found" << radioPath;
if (radioPath.isEmpty()) { if (radioPath.isEmpty()) {
QMessageBox::critical(progress, CPN_STR_TTL_ERROR, QMessageBox::critical(progress, CPN_STR_TTL_ERROR,
QCoreApplication::translate("RadioInterface", "Unable to find Horus radio SD card!")); QCoreApplication::translate("RadioInterface", "Unable to find radio SD card!"));
return false; return false;
} }
RadioData radioData; RadioData radioData;