Restart list searching after removing from it, just in case.

CCMAIL: faure@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=773631
This commit is contained in:
Luboš Luňák 2008-02-11 15:20:11 +00:00
parent dffce19d49
commit 778e0ed51d

View file

@ -681,8 +681,8 @@ void Client::cleanGrouping()
{
if( (*it)->transientFor() == this )
{
ClientList::ConstIterator it2 = it++;
removeTransient( *it2 );
removeTransient( *it );
it = transients_list.begin(); // restart, just in case something more has changed with the list
}
else
++it;