rbutilQt: fix the installing of release builds (archos only).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14460 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b6b10837f2
commit
663029ddfb
2 changed files with 8 additions and 3 deletions
|
@ -81,8 +81,13 @@ void Install::accept()
|
|||
}
|
||||
|
||||
if(ui.radioStable->isChecked()) {
|
||||
file = "stable"; // FIXME: this is wrong!
|
||||
fileName = QString("rockbox.zip");
|
||||
file = QString("%1/rockbox-%2-%3.zip")
|
||||
.arg(devices->value("download_url").toString(),
|
||||
devices->value("last_release").toString(),
|
||||
userSettings->value("defaults/platform").toString());
|
||||
fileName = QString("rockbox-%1-%2.zip")
|
||||
.arg(devices->value("last_release").toString(),
|
||||
userSettings->value("defaults/platform").toString());
|
||||
userSettings->setValue("defaults/build", "stable");
|
||||
}
|
||||
else if(ui.radioArchived->isChecked()) {
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
<number>1</number>
|
||||
</property>
|
||||
<property name="bottomMargin" >
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="themePreview" >
|
||||
|
|
Loading…
Reference in a new issue