alex added a comment.
> if it is a function you don't need to do anything if the function is const (keys()), if not the best practice is to introduce an intermediate const variable That makes everything clear, thank you very much ! REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D27052 To: meven, broulik, ervin, #plasma Cc: alex, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart