aboutsummaryrefslogtreecommitdiff
path: root/src/core/kcoreconfigskeleton.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2014-03-23 22:57:45 +0100
committerDavid Faure <faure@kde.org>2014-03-23 23:00:03 +0100
commitfb451a380c088f315e60de92288326fc7fdfd394 (patch)
treebd6996b020b997506045417fa0b3b19c65586a81 /src/core/kcoreconfigskeleton.cpp
parent80ee4cd6aafc870909308485d6c42023fb875faa (diff)
downloadkconfig-fb451a380c088f315e60de92288326fc7fdfd394.tar.gz
kconfig-fb451a380c088f315e60de92288326fc7fdfd394.tar.bz2
Rename readConfig() to load(), to make it clear it's loading from disk.
As discussed with Matthew Dawson in review 116461.
Diffstat (limited to 'src/core/kcoreconfigskeleton.cpp')
-rw-r--r--src/core/kcoreconfigskeleton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/kcoreconfigskeleton.cpp b/src/core/kcoreconfigskeleton.cpp
index 2ae3a9bd..69a4bf04 100644
--- a/src/core/kcoreconfigskeleton.cpp
+++ b/src/core/kcoreconfigskeleton.cpp
@@ -1061,7 +1061,7 @@ void KCoreConfigSkeleton::setDefaults()
usrSetDefaults();
}
-void KCoreConfigSkeleton::readConfig()
+void KCoreConfigSkeleton::load()
{
d->mConfig->reparseConfiguration();
read();
@@ -1091,7 +1091,7 @@ bool KCoreConfigSkeleton::writeConfig()
if (!d->mConfig->sync()) {
return false;
}
- readConfig();
+ load();
emit configChanged();
}
return true;