From f83b4b191d627b010192e0715536cb57c25519fb Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Mon, 16 Jan 2017 09:44:17 +0100 Subject: Use nullptr everywhere Differential Revision: https://phabricator.kde.org/D3987 --- src/core/kconfigini.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/kconfigini.cpp') 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 ¤tLocale, 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 ¤tLocale, KEntryMap &entry continue; } - KEntryMap::EntryOptions entryOptions = 0; + KEntryMap::EntryOptions entryOptions = nullptr; if (groupOptionImmutable) { entryOptions |= KEntryMap::EntryImmutable; } -- cgit v1.2.1