summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/serverinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/serverinfo.cpp')
-rw-r--r--rbutil/rbutilqt/base/serverinfo.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.cpp b/rbutil/rbutilqt/base/serverinfo.cpp
index c4d51d4431..94c369af72 100644
--- a/rbutil/rbutilqt/base/serverinfo.cpp
+++ b/rbutil/rbutilqt/base/serverinfo.cpp
@@ -81,14 +81,8 @@ QVariant ServerInfo::platformValue(enum ServerInfos info, QString platform)
value = ServerInfo::statusToString(value.toInt());
break;
case CurReleaseVersion:
- value = value.toStringList().at(0);
- break;
case RelCandidateVersion:
- // currently only the <version>,<url> format is supported here.
- if (value.toStringList().size() > 1)
- value = value.toStringList().at(0);
- else
- value.clear();
+ value = value.toStringList().at(0);
break;
case CurReleaseUrl:
{