SVN_SILENT Replaced delete loop with qDeleteAll()
svn path=/trunk/KDE/kdebase/workspace/; revision=1123131
This commit is contained in:
parent
20b419cb47
commit
9a3cca0ef9
1 changed files with 1 additions and 5 deletions
|
@ -55,11 +55,7 @@ void Workspace::setTilingMode( bool tiling )
|
|||
}
|
||||
else
|
||||
{
|
||||
foreach( TilingLayout *t, tilingLayouts )
|
||||
{
|
||||
if( t )
|
||||
delete t;
|
||||
}
|
||||
qDeleteAll( tilingLayouts );
|
||||
tilingLayouts.clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue