Avoid copying key variable in the loop, as warned by QtCreator
Reviewers: bruns, ngraham
Reviewed By: bruns, ngraham
Subscribers: Baloo
Tags: Baloo
Differential Revision: https://phabricator.kde.org/D20768