Fix automated install using the wrong release information.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20148 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-02-28 23:24:00 +00:00
parent 10c1fef096
commit a4cd1d9dab

View file

@ -509,8 +509,8 @@ void RbUtilQt::installBtn()
bool RbUtilQt::installAuto()
{
QString file = QString("%1/%2/rockbox-%3-%4.zip")
.arg(settings->releaseUrl(), versmap.value(settings->curPlatform()),
settings->curPlatform(), versmap.value(settings->curPlatform()));
.arg(settings->releaseUrl(), versmap.value("rel_rev"),
settings->curPlatform(), versmap.value("rel_rev"));
buildInfo.open();
QSettings info(buildInfo.fileName(), QSettings::IniFormat, this);
buildInfo.close();