diff --git a/kcmkwin/kwinrules/ruleslist.cpp b/kcmkwin/kwinrules/ruleslist.cpp index 8265c51e10..5bb69057f8 100644 --- a/kcmkwin/kwinrules/ruleslist.cpp +++ b/kcmkwin/kwinrules/ruleslist.cpp @@ -172,7 +172,7 @@ void KCMRulesList::importClicked() return; int pos = qMax(0, rules_listbox->currentRow()); - foreach (QString group, groups) { + foreach (const QString &group, groups) { KConfigGroup grp(&config, group); const bool remove = grp.readEntry("DeleteRule", false); Rules* new_rule = new Rules(grp);