remove foreach
Reviewers: bruns
Reviewed By: bruns
Subscribers: Baloo
Tags: Baloo
Differential Revision: https://phabricator.kde.org/D22192