Fix iterator

svn path=/trunk/KDE/kdebase/workspace/; revision=1118734
This commit is contained in:
Laurent Montel 2010-04-25 19:34:42 +00:00
parent 8d4bf8492c
commit d6b11300f2

View file

@ -149,7 +149,7 @@ void Columns::arrange( QRect wgeom )
int mult = 0; int mult = 0;
int originalTop = wgeom.y(); int originalTop = wgeom.y();
for( QList<Tile *>::const_iterator it = ++tiled.begin() ; it != tiled.end() ; it++ ) for( QList<Tile *>::const_iterator it = ++tiled.constBegin() ; it != tiled.constEnd() ; it++ )
{ {
if( (*it)->floating() ) if( (*it)->floating() )
continue; continue;