summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-08-26 11:34:32 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-08-26 11:34:32 +0000
commit663029ddfb18c2b8d0a202729459082e9191ec84 (patch)
tree9b3a1f8b24d6c59821a809b9d813725da1ae0637 /rbutil
parentb6b10837f286a2e9948191c413ad2e7cda7df8e7 (diff)
downloadrockbox-663029ddfb18c2b8d0a202729459082e9191ec84.tar.gz
rockbox-663029ddfb18c2b8d0a202729459082e9191ec84.zip
rbutilQt: fix the installing of release builds (archos only).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14460 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-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" >