diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-05-22 07:55:45 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-14 13:03:06 +0000 |
commit | 66d7c21cde8e0846c37e02972c413674aa13dd09 (patch) | |
tree | 2164e3765348583dd17e0326484157d972bf06f2 /rbutil/rbutilqt/base/serverinfo.cpp | |
parent | 30fb53d47f7f96019956de32a94f3c77fd9aa609 (diff) | |
download | rockbox-66d7c21cde8e0846c37e02972c413674aa13dd09.tar.gz rockbox-66d7c21cde8e0846c37e02972c413674aa13dd09.zip |
rbutil: Handle the new Retired target status.
It's considerd stable, but does not have dev builds any more
So don't display download options to get RC or dev builds.
Change-Id: I68ed6adc2dd72d54464d3ff8d8e8df28088f8020
Diffstat (limited to 'rbutil/rbutilqt/base/serverinfo.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/serverinfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.cpp b/rbutil/rbutilqt/base/serverinfo.cpp index 4773c1ee71..d2588abfc4 100644 --- a/rbutil/rbutilqt/base/serverinfo.cpp +++ b/rbutil/rbutilqt/base/serverinfo.cpp | |||
@@ -117,6 +117,9 @@ void ServerInfo::readBuildInfo(QString file) | |||
117 | QString status = tr("Unknown"); | 117 | QString status = tr("Unknown"); |
118 | switch(info.value(platforms.at(i)).toInt()) | 118 | switch(info.value(platforms.at(i)).toInt()) |
119 | { | 119 | { |
120 | case 0: | ||
121 | status = tr("Stable (Retired)"); | ||
122 | break; | ||
120 | case 1: | 123 | case 1: |
121 | status = tr("Unusable"); | 124 | status = tr("Unusable"); |
122 | break; | 125 | break; |
@@ -219,4 +222,3 @@ QVariant ServerInfo::platformValue(QString platform, enum ServerInfos info) | |||
219 | LOG_INFO() << "GET:" << s << serverInfos.value(s, d).toString(); | 222 | LOG_INFO() << "GET:" << s << serverInfos.value(s, d).toString(); |
220 | return serverInfos.value(s, d); | 223 | return serverInfos.value(s, d); |
221 | } | 224 | } |
222 | |||