summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbsettings.cpp
diff options
context:
space:
mode:
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()