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.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/rbutilqt/base/playerbuildinfo.cpp b/utils/rbutilqt/base/playerbuildinfo.cpp
index c76abc4ffe..1673f73d6b 100644
--- a/utils/rbutilqt/base/playerbuildinfo.cpp
+++ b/utils/rbutilqt/base/playerbuildinfo.cpp
@@ -49,6 +49,7 @@ const static struct {
49 { PlayerBuildInfo::PuzzFontsUrl, "other/puzzfonts_url" }, 49 { PlayerBuildInfo::PuzzFontsUrl, "other/puzzfonts_url" },
50 { PlayerBuildInfo::QuakeUrl, "other/quake_url" }, 50 { PlayerBuildInfo::QuakeUrl, "other/quake_url" },
51 { PlayerBuildInfo::Wolf3DUrl, "other/wolf3d_url" }, 51 { PlayerBuildInfo::Wolf3DUrl, "other/wolf3d_url" },
52 { PlayerBuildInfo::XRickUrl, "other/xrick_url" },
52 { PlayerBuildInfo::XWorldUrl, "other/xworld_url" }, 53 { PlayerBuildInfo::XWorldUrl, "other/xworld_url" },
53 { PlayerBuildInfo::MidiPatchsetUrl, "other/patcheset_url" }, 54 { PlayerBuildInfo::MidiPatchsetUrl, "other/patcheset_url" },
54}; 55};
@@ -66,6 +67,7 @@ const static struct {
66 { PlayerBuildInfo::Encoder, ":target:/encoder" }, 67 { PlayerBuildInfo::Encoder, ":target:/encoder" },
67 { PlayerBuildInfo::Brand, ":target:/brand" }, 68 { PlayerBuildInfo::Brand, ":target:/brand" },
68 { PlayerBuildInfo::PlayerPicture, ":target:/playerpic" }, 69 { PlayerBuildInfo::PlayerPicture, ":target:/playerpic" },
70 { PlayerBuildInfo::ThemeName, ":target:/themename" },
69 { PlayerBuildInfo::TargetNamesAll, "_targets/all" }, 71 { PlayerBuildInfo::TargetNamesAll, "_targets/all" },
70 { PlayerBuildInfo::TargetNamesEnabled, "_targets/enabled" }, 72 { PlayerBuildInfo::TargetNamesEnabled, "_targets/enabled" },
71 { PlayerBuildInfo::LanguageInfo, "languages/:target:" }, 73 { PlayerBuildInfo::LanguageInfo, "languages/:target:" },
@@ -331,7 +333,7 @@ QVariant PlayerBuildInfo::value(SystemUrl item)
331QString PlayerBuildInfo::statusAsString(QString platform) 333QString PlayerBuildInfo::statusAsString(QString platform)
332{ 334{
333 QString result; 335 QString result;
334 switch(value(BuildStatus, platform).toInt()) 336 switch(value(BuildStatus, platform.split('.').at(0)).toInt())
335 { 337 {
336 case STATUS_RETIRED: 338 case STATUS_RETIRED:
337 result = tr("Stable (Retired)"); 339 result = tr("Stable (Retired)");