| 39 | BaseVersionList::BaseVersionList(QObject* parent) : QAbstractListModel(parent) {} |
| 40 | |
| 41 | BaseVersion::Ptr BaseVersionList::findVersion(const QString& descriptor) |
| 42 | { |
| 43 | for (int i = 0; i < count(); i++) { |
| 44 | if (at(i)->descriptor() == descriptor) |
| 45 | return at(i); |
| 46 | } |
| 47 | return nullptr; |
| 48 | } |
| 49 | |
| 50 | BaseVersion::Ptr BaseVersionList::getRecommended() const |
| 51 | { |
nothing calls this directly
no test coverage detected