SVN_SILENT Replaced delete loop with qDeleteAll()

svn path=/trunk/KDE/kdebase/workspace/; revision=1123131
icc-effect-5.14.5
Nikhil Marathe 2010-05-05 11:51:09 +00:00
parent 20b419cb47
commit 9a3cca0ef9
1 changed files with 1 additions and 5 deletions

View File

@ -55,11 +55,7 @@ void Workspace::setTilingMode( bool tiling )
}
else
{
foreach( TilingLayout *t, tilingLayouts )
{
if( t )
delete t;
}
qDeleteAll( tilingLayouts );
tilingLayouts.clear();
}
}