diff options
Diffstat (limited to 'rbutil/rbutilqt/base/serverinfo.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/serverinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.cpp b/rbutil/rbutilqt/base/serverinfo.cpp index 8b6707540e..9fa3402828 100644 --- a/rbutil/rbutilqt/base/serverinfo.cpp +++ b/rbutil/rbutilqt/base/serverinfo.cpp | |||
@@ -41,6 +41,8 @@ const static struct { | |||
41 | { ServerInfo::CurReleaseUrl, "release/:platform:", "" }, | 41 | { ServerInfo::CurReleaseUrl, "release/:platform:", "" }, |
42 | { ServerInfo::RelCandidateVersion, "release-candidate/:platform:", "" }, | 42 | { ServerInfo::RelCandidateVersion, "release-candidate/:platform:", "" }, |
43 | { ServerInfo::RelCandidateUrl, "release-candidate/:platform:", "" }, | 43 | { ServerInfo::RelCandidateUrl, "release-candidate/:platform:", "" }, |
44 | { ServerInfo::DailyVersion, "daily/:platform:", "" }, | ||
45 | { ServerInfo::DailyUrl, "daily/:platform:", "" }, | ||
44 | { ServerInfo::CurStatus, "status/:platform:", "-1" }, | 46 | { ServerInfo::CurStatus, "status/:platform:", "-1" }, |
45 | { ServerInfo::BleedingRevision, "bleeding/rev", "" }, | 47 | { ServerInfo::BleedingRevision, "bleeding/rev", "" }, |
46 | { ServerInfo::BleedingDate, "bleeding/timestamp", "" }, | 48 | { ServerInfo::BleedingDate, "bleeding/timestamp", "" }, |
@@ -83,10 +85,12 @@ QVariant ServerInfo::platformValue(enum ServerInfos info, QString platform) | |||
83 | switch(info) { | 85 | switch(info) { |
84 | case CurReleaseVersion: | 86 | case CurReleaseVersion: |
85 | case RelCandidateVersion: | 87 | case RelCandidateVersion: |
88 | case DailyVersion: | ||
86 | value = value.toStringList().at(0); | 89 | value = value.toStringList().at(0); |
87 | break; | 90 | break; |
88 | case CurReleaseUrl: | 91 | case CurReleaseUrl: |
89 | case RelCandidateUrl: | 92 | case RelCandidateUrl: |
93 | case DailyUrl: | ||
90 | { | 94 | { |
91 | QString version = value.toStringList().at(0); | 95 | QString version = value.toStringList().at(0); |
92 | if(value.toStringList().size() > 1) | 96 | if(value.toStringList().size() > 1) |