9XR support n companion, still not finished

This commit is contained in:
root
2013-12-21 15:45:05 +01:00
parent d396e85fe0
commit ee1b51b214
12 changed files with 86 additions and 40 deletions
+2 -2
View File
@@ -286,7 +286,7 @@ void ModelsListWidget::refreshList()
QString item = QString().sprintf("%02d: ", i+1);
if (!radioData->models[i].isempty()) {
if (eepromInterface && eepromInterface->getBoard() == BOARD_SKY9X) {
if (eepromInterface && IS_SKY9X(eepromInterface->getBoard())) {
if (radioData->models[i].name[0]==0) {
QString modelname="Model";
modelname.append(QString().sprintf("%02d", i+1));
@@ -330,7 +330,7 @@ void ModelsListWidget::refreshList()
this->item(radioData->generalSettings.currModel+1)->setFont(f);
}
if (eepromInterface && eepromInterface->getBoard() != BOARD_SKY9X) {
if (eepromInterface && !IS_SKY9X(eepromInterface->getBoard())) {
((MdiChild*)parent())->setEEpromAvail((availableEEpromSize/16)*15);
}
}