summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbsettings.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-01-25 17:48:38 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-01-25 17:48:38 +0000
commit6343111e00da93a8b792b4e6245184be31b8feff (patch)
tree531790bb8bebad377717a66f390f097da83a91de /rbutil/rbutilqt/rbsettings.cpp
parent07894de36dd2af7054db87fc00dc953f73c72f0d (diff)
downloadrockbox-6343111e00da93a8b792b4e6245184be31b8feff.tar.gz
rockbox-6343111e00da93a8b792b4e6245184be31b8feff.tar.bz2
rockbox-6343111e00da93a8b792b4e6245184be31b8feff.zip
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
Diffstat (limited to 'rbutil/rbutilqt/rbsettings.cpp')
-rw-r--r--rbutil/rbutilqt/rbsettings.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/rbutil/rbutilqt/rbsettings.cpp b/rbutil/rbutilqt/rbsettings.cpp
index 28e507fd6a..45e61bee51 100644
--- a/rbutil/rbutilqt/rbsettings.cpp
+++ b/rbutil/rbutilqt/rbsettings.cpp
@@ -81,23 +81,12 @@ QString RbSettings::curVersion()
{
return userSettings->value("rbutil_version").toString();
}
-
+
bool RbSettings::cacheOffline()
{
return userSettings->value("offline").toBool();
}
-bool RbSettings::curNeedsBootloader()
-{
- QString result = deviceSettingCurGet("needsbootloader", "").toString();
- if( result == "no")
- {
- return false;
- }
- else
- return true;
-}
-
QString RbSettings::mountpoint()
{
return userSettings->value("mountpoint").toString();
@@ -228,7 +217,7 @@ QString RbSettings::curManual()
QString RbSettings::curBootloaderMethod()
{
- return deviceSettingCurGet("bootloadermethod").toString();
+ return deviceSettingCurGet("bootloadermethod", "none").toString();
}
QString RbSettings::curBootloaderName()