Cosmetics (bootloader title bar)

This commit is contained in:
Bertrand Songis
2020-06-13 12:46:38 +02:00
parent e494f043cf
commit b795a72ef4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ void FlashProcess::errorWizard()
DeviceStr = "Atmega 2561"; DeviceStr = "Atmega 2561";
} }
} }
if (fwexist==false) { if (!fwexist) {
QMessageBox::warning(nullptr, "Companion - Tip of the day", tr("Your radio uses a %1 CPU!!!\n\nPlease check advanced burn options to set the correct cpu type.").arg(DeviceStr)); QMessageBox::warning(nullptr, "Companion - Tip of the day", tr("Your radio uses a %1 CPU!!!\n\nPlease check advanced burn options to set the correct cpu type.").arg(DeviceStr));
} }
else { else {
+1 -1
View File
@@ -64,7 +64,7 @@ FirmwareInterface::FirmwareInterface(const QString & filename):
// old version format // old version format
int index = version.lastIndexOf('-'); int index = version.lastIndexOf('-');
flavour = version.mid(0, index); flavour = version.mid(0, index);
version = version.mid(index+1); version = version.mid(index + 1);
} }
date = seekLabel(DATE_MARK); date = seekLabel(DATE_MARK);
time = seekLabel(TIME_MARK); time = seekLabel(TIME_MARK);
@@ -24,7 +24,7 @@
#include "stamp.h" #include "stamp.h"
#if LCD_W < 212 #if LCD_W < 212
#define BOOTLOADER_TITLE " OTX Bootloader - " VERSION #define BOOTLOADER_TITLE " Bootloader - " VERSION
#else #else
#define BOOTLOADER_TITLE " OpenTX Bootloader - " VERSION #define BOOTLOADER_TITLE " OpenTX Bootloader - " VERSION
#endif #endif