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:
Dominik Wenger 2008-02-13 18:25:01 +00:00
parent 8f0c7908b0
commit b30181a14b
3 changed files with 11 additions and 1 deletions

View file

@ -58,7 +58,7 @@ void Install::accept()
}
QString myversion;
QString buildname = settings->curPlatform();
QString buildname = settings->curPlatformName();
if(ui.radioStable->isChecked()) {
file = QString("%1/rockbox-%2-%3.zip")
.arg(settings->downloadUrl(),

View file

@ -190,6 +190,15 @@ QString RbSettings::curPlatform()
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 platform = userSettings->value("platform").toString();

View file

@ -86,6 +86,7 @@ class RbSettings : public QObject
QString curBrand();
QString curName();
QString curPlatform();
QString curPlatformName();
QString curManual();
bool curReleased();
QString curBootloaderMethod();