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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/serverinfo.cpp b/rbutil/rbutilqt/base/serverinfo.cpp
index d2588abfc4..6fa685939d 100644
--- a/rbutil/rbutilqt/base/serverinfo.cpp
+++ b/rbutil/rbutilqt/base/serverinfo.cpp
@@ -115,7 +115,7 @@ void ServerInfo::readBuildInfo(QString file)
info.beginGroup("status");
QString status = tr("Unknown");
- switch(info.value(platforms.at(i)).toInt())
+ switch(info.value(platforms.at(i), -1).toInt())
{
case 0:
status = tr("Stable (Retired)");