From 3bd18150c214fab1b0840e5827a48d3dfff88c34 Mon Sep 17 00:00:00 2001 From: Benjamin Poulain Date: Sat, 13 Nov 2010 16:49:36 +0100 Subject: Remove the destructor of MainView The destructor of MainView was redundant with the cleaning mechanism of QObject. It is removed to simplify the class. Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini --- src/mainview.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/mainview.cpp') diff --git a/src/mainview.cpp b/src/mainview.cpp index 15d0edad..d080ad9a 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -95,13 +95,6 @@ MainView::MainView(MainWindow *parent) } -MainView::~MainView() -{ - delete m_widgetBar; - delete m_addTabButton; -} - - void MainView::postLaunch() { QStringList list = Application::sessionManager()->closedSites(); -- cgit v1.2.1