1
0
Fork 0
forked from len0rd/rockbox

rbutil: fix the complete installation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15213 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2007-10-19 22:17:52 +00:00
parent 04f1eaf4f0
commit f697158de1

View file

@ -409,7 +409,10 @@ bool RbUtilQt::smallInstallInner()
}
// Bootloader
devices->beginGroup(userSettings->value("platform").toString());
if(devices->value("needsbootloader", "") == "yes") {
QString needBootloader = devices->value("needsbootloader", "").toString();
devices->endGroup();
if(needBootloader == "yes")
{
m_error = false;
m_installed = false;
if(!installBootloaderAuto())
@ -422,8 +425,7 @@ bool RbUtilQt::smallInstallInner()
}
if(m_error) return true;
logger->undoAbort();
}
devices->endGroup();
}
// Rockbox
m_error = false;