rbutil: fix bug with wrong downloadURL for h10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16306 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8f0c7908b0
commit
b30181a14b
3 changed files with 11 additions and 1 deletions
|
@ -58,7 +58,7 @@ void Install::accept()
|
||||||
}
|
}
|
||||||
|
|
||||||
QString myversion;
|
QString myversion;
|
||||||
QString buildname = settings->curPlatform();
|
QString buildname = settings->curPlatformName();
|
||||||
if(ui.radioStable->isChecked()) {
|
if(ui.radioStable->isChecked()) {
|
||||||
file = QString("%1/rockbox-%2-%3.zip")
|
file = QString("%1/rockbox-%2-%3.zip")
|
||||||
.arg(settings->downloadUrl(),
|
.arg(settings->downloadUrl(),
|
||||||
|
|
|
@ -190,6 +190,15 @@ QString RbSettings::curPlatform()
|
||||||
return userSettings->value("platform").toString();
|
return userSettings->value("platform").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString RbSettings::curPlatformName()
|
||||||
|
{
|
||||||
|
QString platform = userSettings->value("platform").toString();
|
||||||
|
devices->beginGroup(platform);
|
||||||
|
QString name = devices->value("platform").toString();
|
||||||
|
devices->endGroup();
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
QString RbSettings::curManual()
|
QString RbSettings::curManual()
|
||||||
{
|
{
|
||||||
QString platform = userSettings->value("platform").toString();
|
QString platform = userSettings->value("platform").toString();
|
||||||
|
|
|
@ -86,6 +86,7 @@ class RbSettings : public QObject
|
||||||
QString curBrand();
|
QString curBrand();
|
||||||
QString curName();
|
QString curName();
|
||||||
QString curPlatform();
|
QString curPlatform();
|
||||||
|
QString curPlatformName();
|
||||||
QString curManual();
|
QString curManual();
|
||||||
bool curReleased();
|
bool curReleased();
|
||||||
QString curBootloaderMethod();
|
QString curBootloaderMethod();
|
||||||
|
|
Loading…
Reference in a new issue