From ed1e49f204af2bb6a7e67a7b4a4f0c2e228b0c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 12 Jun 2014 07:47:27 +0200 Subject: [PATCH] Fix build Never push before first coffee! --- kcmkwin/kwincompositing/model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kcmkwin/kwincompositing/model.cpp b/kcmkwin/kwincompositing/model.cpp index c497f79cb5..1426c472c1 100644 --- a/kcmkwin/kwincompositing/model.cpp +++ b/kcmkwin/kwincompositing/model.cpp @@ -370,8 +370,8 @@ void EffectModel::syncConfig() { KConfigGroup kwinConfig(KSharedConfig::openConfig("kwinrc"), "Plugins"); - for (auto it = m_effectsList.constBegin(); it != m_effectsList.constEnd(); it++) { - const EffectData &effect = *(it); + for (auto it = m_effectsList.begin(); it != m_effectsList.end(); it++) { + EffectData &effect = *(it); if (!effect.changed) { continue; }