summaryrefslogtreecommitdiff
path: root/utils/rbutilqt/base/playerbuildinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rbutilqt/base/playerbuildinfo.cpp')
-rw-r--r--utils/rbutilqt/base/playerbuildinfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/rbutilqt/base/playerbuildinfo.cpp b/utils/rbutilqt/base/playerbuildinfo.cpp
index 7edb7f750c..1673f73d6b 100644
--- a/utils/rbutilqt/base/playerbuildinfo.cpp
+++ b/utils/rbutilqt/base/playerbuildinfo.cpp
@@ -67,6 +67,7 @@ const static struct {
67 { PlayerBuildInfo::Encoder, ":target:/encoder" }, 67 { PlayerBuildInfo::Encoder, ":target:/encoder" },
68 { PlayerBuildInfo::Brand, ":target:/brand" }, 68 { PlayerBuildInfo::Brand, ":target:/brand" },
69 { PlayerBuildInfo::PlayerPicture, ":target:/playerpic" }, 69 { PlayerBuildInfo::PlayerPicture, ":target:/playerpic" },
70 { PlayerBuildInfo::ThemeName, ":target:/themename" },
70 { PlayerBuildInfo::TargetNamesAll, "_targets/all" }, 71 { PlayerBuildInfo::TargetNamesAll, "_targets/all" },
71 { PlayerBuildInfo::TargetNamesEnabled, "_targets/enabled" }, 72 { PlayerBuildInfo::TargetNamesEnabled, "_targets/enabled" },
72 { PlayerBuildInfo::LanguageInfo, "languages/:target:" }, 73 { PlayerBuildInfo::LanguageInfo, "languages/:target:" },
@@ -332,7 +333,7 @@ QVariant PlayerBuildInfo::value(SystemUrl item)
332QString PlayerBuildInfo::statusAsString(QString platform) 333QString PlayerBuildInfo::statusAsString(QString platform)
333{ 334{
334 QString result; 335 QString result;
335 switch(value(BuildStatus, platform).toInt()) 336 switch(value(BuildStatus, platform.split('.').at(0)).toInt())
336 { 337 {
337 case STATUS_RETIRED: 338 case STATUS_RETIRED:
338 result = tr("Stable (Retired)"); 339 result = tr("Stable (Retired)");