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
This commit is contained in:
Dominik Riebeling 2010-03-15 18:14:59 +00:00
parent df5a0e2a84
commit 76da921e56

View file

@ -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();