summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marten <[email protected]>2017-07-22 18:36:03 +0100
committerJonathan Marten <[email protected]>2017-07-22 18:36:03 +0100
commitc6270cd96926c3cf1427734dfcf0e6630b6fe76a (patch)
treeb540725b51a47f628675d9bd5fa870a461892905
parent3bd4f9cc0f25d56feeccc191b123ff51eee75a3b (diff)
Deprecated KCoreConfigSkeleton::writeConfig() -> save(), readConfig() -> load()
-rw-r--r--apps/kmix.cpp2
-rw-r--r--core/GlobalConfig.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/kmix.cpp b/apps/kmix.cpp
index 4280ebb..650c448 100644
--- a/apps/kmix.cpp
+++ b/apps/kmix.cpp
@@ -373,7 +373,7 @@ void KMixWindow::saveConfig()
void KMixWindow::saveBaseConfig()
{
- GlobalConfig::instance().writeConfig();
+ GlobalConfig::instance().save();
KConfigGroup config(KSharedConfig::openConfig(), "Global");
diff --git a/core/GlobalConfig.cpp b/core/GlobalConfig.cpp
index 162a5e5..43719bf 100644
--- a/core/GlobalConfig.cpp
+++ b/core/GlobalConfig.cpp
@@ -53,7 +53,7 @@ GlobalConfig::GlobalConfig() :
addItemBool("Debug.Volume", data.debugVolume, false);
addItemBool("Debug.Config", data.debugConfig, false);
- readConfig();
+ load();
}
// --- Special READ/WRITE ----------------------------------------------------------------------------------------