summaryrefslogtreecommitdiff
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-08 01:00:38 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-08 01:00:38 +0100
commit5516a5d3cb9154a6f1d64ee9b776c1f93db618ba (patch)
treed3511aad00912c3ff1e169af30e870d9d2c8380a /src/tabwidget.cpp
parentNo more QmessageBox here.. (diff)
downloadrekonq-5516a5d3cb9154a6f1d64ee9b776c1f93db618ba.tar.xz
Add destrctors'code, as needed. Fixed closing application bug.
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r--src/tabwidget.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp
index 01f9bd6c..72574596 100644
--- a/src/tabwidget.cpp
+++ b/src/tabwidget.cpp
@@ -274,7 +274,9 @@ TabWidget::TabWidget(QWidget *parent)
TabWidget::~TabWidget()
{
-}
+ delete m_lineEditCompleter;
+ delete m_recentlyClosedTabsMenu;
+}
void TabWidget::clear()
@@ -335,7 +337,6 @@ void TabWidget::currentChanged(int index)
if (!webView)
return;
-// FIXME
Q_ASSERT( m_lineEdits->count() == count() );
WebView *oldWebView = this->webView(m_lineEdits->currentIndex());