summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/install.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-10-18 16:19:07 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-10-18 16:19:07 +0000
commit71e720902880e639f75a3817626b84a5bcd2412c (patch)
treec4c9527ec39cf9d2926ba6dcba0ce9315e37e4b1 /rbutil/rbutilqt/install.cpp
parent42e0c3b45e95e5a59ecb4ee52a03c484062fc959 (diff)
downloadrockbox-71e720902880e639f75a3817626b84a5bcd2412c.tar.gz
rockbox-71e720902880e639f75a3817626b84a5bcd2412c.tar.bz2
rockbox-71e720902880e639f75a3817626b84a5bcd2412c.zip
rbutil: make release versions local to devices. To allow different releases on different devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18825 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/install.cpp')
-rw-r--r--rbutil/rbutilqt/install.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp
index 7810f7f3d8..d9c750ea4d 100644
--- a/rbutil/rbutilqt/install.cpp
+++ b/rbutil/rbutilqt/install.cpp
@@ -91,11 +91,11 @@ void Install::accept()
QString myversion;
QString buildname = settings->curPlatformName();
if(ui.radioStable->isChecked()) {
- file = QString("%1/rockbox-%2-%3.zip")
- .arg(settings->downloadUrl(),
- buildname, settings->lastRelease());
+ file = QString("%1/%2/rockbox-%3-%4.zip")
+ .arg(settings->releaseUrl(),settings->lastRelease(settings->curPlatform()),
+ buildname, settings->lastRelease(settings->curPlatform()));
fileName = QString("rockbox-%1-%2.zip")
- .arg(settings->lastRelease(), buildname);
+ .arg(settings->lastRelease(settings->curPlatform()), buildname);
settings->setBuild("stable");
myversion = version.value("rel_rev");
}