Ensure tiles are deleted when tiling is disabled.

This also returns windows to previous geometry

svn path=/trunk/KDE/kdebase/workspace/; revision=1149542
This commit is contained in:
Nikhil Marathe 2010-07-13 16:02:54 +00:00
parent 75396ffe11
commit 3ad1949c50

View file

@ -36,6 +36,8 @@ TilingLayout::TilingLayout( Workspace *w )
TilingLayout::~TilingLayout() TilingLayout::~TilingLayout()
{ {
qDeleteAll( m_tiles );
m_tiles.clear();
} }
int TilingLayout::findTilePos( Client *c ) const int TilingLayout::findTilePos( Client *c ) const