Fix build

Never push before first coffee!
This commit is contained in:
Martin Gräßlin 2014-06-12 07:47:27 +02:00
parent 983561107a
commit ed1e49f204

View file

@ -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;
}