diff --git a/companion/src/mdichild.cpp b/companion/src/mdichild.cpp index a5f264de9..a87db7ced 100644 --- a/companion/src/mdichild.cpp +++ b/companion/src/mdichild.cpp @@ -162,10 +162,13 @@ void MdiChild::onFirmwareChanged() BoardEnum board = firmware->getBoard(); ui->modelsList->header()->setVisible(!IS_HORUS(board)); - if (IS_HORUS(board)) - ui->modelsList->resetIndentation(); - else + if (IS_HORUS(board)) { + ui->modelsList->setIndentation(20); + // ui->modelsList->resetIndentation(); // introduced in next Qt versions ... + } + else { ui->modelsList->setIndentation(0); + } radioData.convert(previous, firmware); refresh(); } diff --git a/companion/src/multimodelprinter.cpp b/companion/src/multimodelprinter.cpp index e50fe9636..6d23d4d5e 100644 --- a/companion/src/multimodelprinter.cpp +++ b/companion/src/multimodelprinter.cpp @@ -559,7 +559,7 @@ QString MultiModelPrinter::printTelemetry() columns.append(""); for (int i=0; i<2; i++) { columns.append("
" + QString(i==0 ? tr("RSSI Alarms") : "") + ""); - if (IS_HORUS_OR_TARANIS(GetEepromInterface()->getBoard())) { + if (IS_HORUS_OR_TARANIS(getCurrentBoard())) { COMPARE(i==0 ? tr("Low Alarm") : tr("Critical Alarm")); } else {