diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-04-06 23:30:18 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-07 00:20:02 +0200 |
commit | 643d74f66c2b22660264a393d5c3fa38f68a5d59 (patch) | |
tree | acd7387bdd6599aa1ecb8eb71f8d0d9a03c694c7 /api/logic/BaseVersionList.cpp | |
parent | f565798650b453ed8c94422096d9b37ba81ebf3e (diff) | |
download | MultiMC-643d74f66c2b22660264a393d5c3fa38f68a5d59.tar MultiMC-643d74f66c2b22660264a393d5c3fa38f68a5d59.tar.gz MultiMC-643d74f66c2b22660264a393d5c3fa38f68a5d59.tar.lz MultiMC-643d74f66c2b22660264a393d5c3fa38f68a5d59.tar.xz MultiMC-643d74f66c2b22660264a393d5c3fa38f68a5d59.zip |
NOISSUE implement recommended versions using the new JSON format
Diffstat (limited to 'api/logic/BaseVersionList.cpp')
-rw-r--r-- | api/logic/BaseVersionList.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/api/logic/BaseVersionList.cpp b/api/logic/BaseVersionList.cpp index dae604a2..8b424c11 100644 --- a/api/logic/BaseVersionList.cpp +++ b/api/logic/BaseVersionList.cpp @@ -30,7 +30,7 @@ BaseVersionPtr BaseVersionList::findVersion(const QString &descriptor) return BaseVersionPtr(); } -BaseVersionPtr BaseVersionList::getLatestStable() const +BaseVersionPtr BaseVersionList::getRecommended() const { if (count() <= 0) return BaseVersionPtr(); @@ -38,11 +38,6 @@ BaseVersionPtr BaseVersionList::getLatestStable() const return at(0); } -BaseVersionPtr BaseVersionList::getRecommended() const -{ - return getLatestStable(); -} - QVariant BaseVersionList::data(const QModelIndex &index, int role) const { if (!index.isValid()) |