SVN_SILENT Replaced delete loop with qDeleteAll()

svn path=/trunk/KDE/kdebase/workspace/; revision=1123131
This commit is contained in:
Nikhil Marathe 2010-05-05 11:51:09 +00:00
parent 20b419cb47
commit 9a3cca0ef9

View file

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