[KConfigGroup] reserve() more and add some C++11

Authored by broulik on Sep 21 2017, 8:42 AM.

Description

[KConfigGroup] reserve() more and add some C++11

Using initializer_lists for QList we reserve the right amount of memory in advance and also make for nicer code.
Also uses range-for where code was touched and a const container used.

Differential Revision: https://phabricator.kde.org/D7879

Details

Committed
broulikSep 21 2017, 8:42 AM
Differential Revision
D7879: [KConfigGroup] reserve() more and add some C++11
Parents
R237:34c2460d09dd: Deprecate KStandardShortcut::SaveOptions
Branches
Unknown
Tags
Unknown