summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/install.cpp9
-rw-r--r--rbutil/rbutilqt/previewfrm.ui2
2 files changed, 8 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp
index 91a9534061..a537cb2cbe 100644
--- a/rbutil/rbutilqt/install.cpp
+++ b/rbutil/rbutilqt/install.cpp
@@ -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()) {
diff --git a/rbutil/rbutilqt/previewfrm.ui b/rbutil/rbutilqt/previewfrm.ui
index c2732b420b..359887bfed 100644
--- a/rbutil/rbutilqt/previewfrm.ui
+++ b/rbutil/rbutilqt/previewfrm.ui
@@ -56,7 +56,7 @@
<number>1</number>
</property>
<property name="bottomMargin" >
- <number>0</number>
+ <number>1</number>
</property>
<item>
<widget class="QLabel" name="themePreview" >