summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/install.cpp
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/rbutilqt/install.cpp
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/rbutilqt/install.cpp')
-rw-r--r--rbutil/rbutilqt/install.cpp9
1 files changed, 7 insertions, 2 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()) {