aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfigini.cpp
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-01-16 09:44:17 +0100
committerKevin Funk <kfunk@kde.org>2017-01-16 09:44:17 +0100
commitf83b4b191d627b010192e0715536cb57c25519fb (patch)
tree411f9ae566f1a6ca7cd87e769d782842f29ff72e /src/core/kconfigini.cpp
parentf7ef172c32a7e17e5e3b24cafa5da1e95502b9e4 (diff)
downloadkconfig-f83b4b191d627b010192e0715536cb57c25519fb.tar.gz
kconfig-f83b4b191d627b010192e0715536cb57c25519fb.tar.bz2
Use nullptr everywhere
Differential Revision: https://phabricator.kde.org/D3987
Diffstat (limited to 'src/core/kconfigini.cpp')
-rw-r--r--src/core/kconfigini.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/kconfigini.cpp b/src/core/kconfigini.cpp
index 3d0af962..d4262778 100644
--- a/src/core/kconfigini.cpp
+++ b/src/core/kconfigini.cpp
@@ -166,7 +166,7 @@ KConfigIniBackend::parseConfig(const QByteArray &currentLocale, KEntryMap &entry
} while ((start = end + 2) <= line.length() && line.at(end + 1) == '[');
currentGroup = newGroup;
- groupSkip = entryMap.getEntryOption(currentGroup, 0, 0, KEntryMap::EntryImmutable);
+ groupSkip = entryMap.getEntryOption(currentGroup, nullptr, nullptr, KEntryMap::EntryImmutable);
if (groupSkip && !bDefault) {
continue;
@@ -199,7 +199,7 @@ KConfigIniBackend::parseConfig(const QByteArray &currentLocale, KEntryMap &entry
continue;
}
- KEntryMap::EntryOptions entryOptions = 0;
+ KEntryMap::EntryOptions entryOptions = nullptr;
if (groupOptionImmutable) {
entryOptions |= KEntryMap::EntryImmutable;
}