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:
parent
dffce19d49
commit
778e0ed51d
1 changed files with 2 additions and 2 deletions
|
@ -681,8 +681,8 @@ void Client::cleanGrouping()
|
||||||
{
|
{
|
||||||
if( (*it)->transientFor() == this )
|
if( (*it)->transientFor() == this )
|
||||||
{
|
{
|
||||||
ClientList::ConstIterator it2 = it++;
|
removeTransient( *it );
|
||||||
removeTransient( *it2 );
|
it = transients_list.begin(); // restart, just in case something more has changed with the list
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
++it;
|
++it;
|
||||||
|
|
Loading…
Reference in a new issue