mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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:
parent
df5a0e2a84
commit
76da921e56
1 changed files with 4 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue