From 407812ff6f500a151b2f915d33da59e2872ce1a1 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 6 Jul 2007 13:39:03 +0000 Subject: [PATCH] Next patch from Christian Spiel, ++it instead of it++ svn path=/trunk/KDE/kdebase/workspace/; revision=684303 --- effects.cpp | 6 +++--- kcmkwin/kwindecoration/kwindecoration.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/effects.cpp b/effects.cpp index c119a6a22a..16024e4941 100644 --- a/effects.cpp +++ b/effects.cpp @@ -625,7 +625,7 @@ void EffectsHandlerImpl::loadEffect( const QString& name ) kWarning( 1212 ) << k_funcinfo << "Effect names usually have kwin4_effect_ prefix" << endl; // Make sure a single effect won't be loaded multiple times - for(QVector< EffectPair >::const_iterator it = loaded_effects.constBegin(); it != loaded_effects.constEnd(); it++) + for(QVector< EffectPair >::const_iterator it = loaded_effects.constBegin(); it != loaded_effects.constEnd(); ++it) { if( (*it).first == name ) { @@ -692,7 +692,7 @@ void EffectsHandlerImpl::unloadEffect( const QString& name ) assert( current_draw_window == 0 ); assert( current_transform == 0 ); - for( QMap< int, EffectPair >::iterator it = effect_order.begin(); it != effect_order.end(); it++) + for( QMap< int, EffectPair >::iterator it = effect_order.begin(); it != effect_order.end(); ++it) { if ( it.value().first == name ) { @@ -719,7 +719,7 @@ void EffectsHandlerImpl::reloadEffect( const QString& name ) bool EffectsHandlerImpl::isEffectLoaded( const QString& name ) { - for( QVector< EffectPair >::iterator it = loaded_effects.begin(); it != loaded_effects.end(); it++) + for( QVector< EffectPair >::iterator it = loaded_effects.begin(); it != loaded_effects.end(); ++it) if ( (*it).first == name ) return true; diff --git a/kcmkwin/kwindecoration/kwindecoration.cpp b/kcmkwin/kwindecoration/kwindecoration.cpp index 6783621e5b..d349929c05 100644 --- a/kcmkwin/kwindecoration/kwindecoration.cpp +++ b/kcmkwin/kwindecoration/kwindecoration.cpp @@ -217,7 +217,7 @@ void KWinDecorationModule::findDecorations() QStringList dirList = KGlobal::dirs()->findDirs("data", "kwin"); QStringList::ConstIterator it; - for (it = dirList.begin(); it != dirList.end(); it++) + for (it = dirList.begin(); it != dirList.end(); ++it) { QDir d(*it); if (d.exists())