From 68760426532b9ca4c6939d7a7b8faa1586ee82e0 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 8 Dec 2008 20:58:10 +0100 Subject: Code reformatting I wish I had never fallen for this weird style, and I hope removing it will prevent others from introducing new code like this. :-) --- src/gui/tabbedcontainer.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/gui/tabbedcontainer.cpp') diff --git a/src/gui/tabbedcontainer.cpp b/src/gui/tabbedcontainer.cpp index fba4e846..8c23f76f 100644 --- a/src/gui/tabbedcontainer.cpp +++ b/src/gui/tabbedcontainer.cpp @@ -19,8 +19,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include - #include "tabbedcontainer.h" #include "button.h" @@ -38,8 +36,7 @@ TabbedContainer::TabbedContainer(): TabbedContainer::~TabbedContainer() { - for_each(mTabs.begin(), mTabs.end(), make_dtor(mTabs)); - + delete_all(mTabs); mTabs.clear(); mContents.clear(); } -- cgit v1.2.3-70-g09d2