feat(cpn): refactor handling of erroneous models (#7377)

This commit is contained in:
Neil Horne
2026-06-16 15:19:24 +10:00
committed by GitHub
parent 6a3349f095
commit 4ebf3486f1
7 changed files with 115 additions and 21 deletions
+15
View File
@@ -358,3 +358,18 @@ int RadioData::invalidModels()
return cnt;
}
QStringList RadioData::modelErrorsList()
{
QStringList ret;
for(auto &model: models) {
if (!model.isValid()) {
ret.append("");
ret.append(model.name);
ret.append(model.errorsList());
}
}
return ret;
}