[Companion] Compilation fixes

This commit is contained in:
Bertrand Songis
2017-01-18 15:32:16 +01:00
parent 1924d28be3
commit 01a4470e23
2 changed files with 7 additions and 4 deletions
+6 -3
View File
@@ -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();
}