Remove "needsbootloader" configuration value as it is implicitly available from "bootloadermethod". Explicitly use bootloadermethod "none" if no bootloader is needed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19855 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-01-25 17:48:38 +00:00
parent 07894de36d
commit 6343111e00
4 changed files with 19 additions and 62 deletions

View file

@ -315,7 +315,7 @@ void RbUtilQt::updateSettings()
void RbUtilQt::updateDevice()
{
if(!settings->curNeedsBootloader() ) {
if(settings->curBootloaderMethod() == "none" ) {
ui.buttonBootloader->setEnabled(false);
ui.buttonRemoveBootloader->setEnabled(false);
ui.labelBootloader->setEnabled(false);
@ -333,7 +333,7 @@ void RbUtilQt::updateDevice()
ui.buttonRemoveBootloader->setEnabled(true);
}
}
// displayed device info
QString mountpoint = settings->mountpoint();
QString brand = settings->curBrand();
@ -457,7 +457,7 @@ bool RbUtilQt::smallInstallInner()
return true;
}
// Bootloader
if(settings->curNeedsBootloader())
if(settings->curBootloaderMethod() != "none")
{
m_error = false;
m_installed = false;