diff options
author | Benjamin Poulain <ikipou@gmail.com> | 2010-11-13 16:49:36 +0100 |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-11-20 18:53:18 +0100 |
commit | 3bd18150c214fab1b0840e5827a48d3dfff88c34 (patch) | |
tree | 404087003c4946f7d808e2655b6ce47f42fdbfef /src | |
parent | Remove m_loadingGitPath from MainView (diff) | |
download | rekonq-3bd18150c214fab1b0840e5827a48d3dfff88c34.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/mainview.cpp | 7 | ||||
-rw-r--r-- | src/mainview.h | 1 |
2 files changed, 0 insertions, 8 deletions
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(); diff --git a/src/mainview.h b/src/mainview.h index 042b6371..46e4133b 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -66,7 +66,6 @@ class REKONQ_TESTS_EXPORT MainView : public KTabWidget public: MainView(MainWindow *parent); - ~MainView(); inline StackedUrlBar *widgetBar() const { return m_widgetBar; } UrlBar *urlBar() const; |