From 2542857b0864e5f2c1eb6dcbe785becb9e613b70 Mon Sep 17 00:00:00 2001 From: Nikhil Marathe Date: Sun, 12 Sep 2010 05:02:18 +0000 Subject: [PATCH] Tiles are not deleted when removed from a layout, since we might want to add them to another layout svn path=/trunk/KDE/kdebase/workspace/; revision=1174360 --- tilinglayout.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tilinglayout.cpp b/tilinglayout.cpp index a33d0ee8fd..42e5a9aa8c 100644 --- a/tilinglayout.cpp +++ b/tilinglayout.cpp @@ -152,8 +152,6 @@ void TilingLayout::removeTileNoArrange( Tile * t ) return; preRemoveTile( t ); m_tiles.removeOne( t ); - delete t; - t = NULL; } const QRect TilingLayout::layoutArea( Tile *t ) const