summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-03-15 18:14:59 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-03-15 18:14:59 +0000
commit76da921e5612330aa5281676cc491137e6c0e769 (patch)
tree1182073d217c6dd29e0839e7edeb75c03f9d8805 /rbutil/rbutilqt
parentdf5a0e2a84c2ef58679a728bc9803ca1302ad37d (diff)
downloadrockbox-76da921e5612330aa5281676cc491137e6c0e769.tar.gz
rockbox-76da921e5612330aa5281676cc491137e6c0e769.tar.bz2
rockbox-76da921e5612330aa5281676cc491137e6c0e769.zip
Fix manual download links.
Use the buildserver modelname for downloading files. The Platform setting is the internal Rockbox Utility value, which might contain an additional identifier needed internally only. Broken download links reported as part of FS#11109. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25206 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 4cb2e09aeb..292a0026b1 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -393,7 +393,8 @@ void RbUtilQt::updateManual()
QString manual= SystemInfo::value(SystemInfo::CurManual).toString();
if(manual == "")
- manual = "rockbox-" + RbSettings::value(RbSettings::Platform).toString();
+ manual = "rockbox-"
+ + SystemInfo::value(SystemInfo::CurBuildserverModel).toString();
QString pdfmanual;
pdfmanual = SystemInfo::value(SystemInfo::ManualUrl).toString()
+ "/" + manual + ".pdf";
@@ -1052,7 +1053,8 @@ void RbUtilQt::downloadManual(void)
QString manual = SystemInfo::value(SystemInfo::CurManual).toString();
if(manual.isEmpty())
- manual = "rockbox-" + RbSettings::value(RbSettings::Platform).toString();
+ manual = "rockbox-"
+ + SystemInfo::value(SystemInfo::CurBuildserverModel).toString();
QString date = ServerInfo::value(ServerInfo::DailyDate).toString();