kossebau created this revision. kossebau added a reviewer: dfaure. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. kossebau requested review of this revision.
REVISION SUMMARY The old implementation of all the KActionCollection methods was a bit inconsistent: some places loop directly over d->actions, while others do it over the container copy created via call to the public getter method. Without obvious reason for the different approach. This patch ports the remaining foreach (and one ported before) to a range-based for loop directly over the pimpl container object. REPOSITORY R263 KXmlGui BRANCH portloopdirectlyoverdmembers REVISION DETAIL https://phabricator.kde.org/D23861 AFFECTED FILES src/kactioncollection.cpp To: kossebau, dfaure Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns