summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-01-25 13:31:32 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-01-25 13:31:32 +0000
commit9349911c47a8e9915f2d29c924f10893bd7c3e69 (patch)
tree56e3303c82aa78949cca36464070ddf55c6463c3 /rbutil
parent755ab3bff3fbe31585e2289a2332cda7f0bbd5de (diff)
downloadrockbox-9349911c47a8e9915f2d29c924f10893bd7c3e69.tar.gz
rockbox-9349911c47a8e9915f2d29c924f10893bd7c3e69.tar.bz2
rockbox-9349911c47a8e9915f2d29c924f10893bd7c3e69.zip
Install dialog: use the release version number from the version strings map instead of accessing the ini file directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/install.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/install.cpp b/rbutil/rbutilqt/install.cpp
index 3fa0199582..34920e3951 100644
--- a/rbutil/rbutilqt/install.cpp
+++ b/rbutil/rbutilqt/install.cpp
@@ -111,10 +111,10 @@ void Install::accept()
QString buildname = settings->curPlatformName();
if(ui.radioStable->isChecked()) {
file = QString("%1/%2/rockbox-%3-%4.zip")
- .arg(settings->releaseUrl(),settings->lastRelease(settings->curPlatform()),
- buildname, settings->lastRelease(settings->curPlatform()));
+ .arg(settings->releaseUrl(), version.value("rel_rev"),
+ buildname, version.value("rel_rev"));
fileName = QString("rockbox-%1-%2.zip")
- .arg(settings->lastRelease(settings->curPlatform()), buildname);
+ .arg(version.value("rel_rev"), buildname);
settings->setBuild("stable");
myversion = version.value("rel_rev");
}