summaryrefslogtreecommitdiff
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
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());