mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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:
parent
07894de36d
commit
6343111e00
4 changed files with 19 additions and 62 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue