diff options
author | Laurent Montel <montel@kde.org> | 2019-02-26 07:04:22 +0100 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2019-03-03 09:32:34 +0100 |
commit | 38b51667b5ba74fc5a28172e251c9ba4c0398e32 (patch) | |
tree | a4d4f25669093f82c006d21e8bf6a7dd09549810 /src/core/kconfigini.cpp | |
parent | 71abd4319c87d559e3079528bf7feb73fa4fd521 (diff) | |
download | kconfig-38b51667b5ba74fc5a28172e251c9ba4c0398e32.tar.gz kconfig-38b51667b5ba74fc5a28172e251c9ba4c0398e32.tar.bz2 |
[Kconfig] Compile without foreach
Summary: compile without foreach
Test Plan: Unittest Ok as previously
Reviewers: dfaure
Reviewed By: dfaure
Subscribers: kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D19326
Diffstat (limited to 'src/core/kconfigini.cpp')
-rw-r--r-- | src/core/kconfigini.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kconfigini.cpp b/src/core/kconfigini.cpp index 87c4a8af..26d8390c 100644 --- a/src/core/kconfigini.cpp +++ b/src/core/kconfigini.cpp @@ -299,7 +299,7 @@ KConfigIniBackend::parseConfig(const QByteArray ¤tLocale, KEntryMap &entry } // now make sure immutable groups are marked immutable - Q_FOREACH (const QByteArray &group, immutableGroups) { + for (const QByteArray &group : qAsConst(immutableGroups)) { entryMap.setEntry(group, QByteArray(), QByteArray(), KEntryMap::EntryImmutable); } |