summaryrefslogtreecommitdiff
path: root/src/browsermainwindow.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/browsermainwindow.cpp
parentNo more QmessageBox here.. (diff)
downloadrekonq-5516a5d3cb9154a6f1d64ee9b776c1f93db618ba.tar.xz
Add destrctors'code, as needed. Fixed closing application bug.
Diffstat (limited to 'src/browsermainwindow.cpp')
-rw-r--r--src/browsermainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/browsermainwindow.cpp b/src/browsermainwindow.cpp
index 6ca9c256..d6327300 100644
--- a/src/browsermainwindow.cpp
+++ b/src/browsermainwindow.cpp
@@ -111,6 +111,7 @@ BrowserMainWindow::~BrowserMainWindow()
{
m_autoSaver->changeOccurred();
m_autoSaver->saveIfNeccessary();
+ delete m_navigationBar;
}
@@ -390,7 +391,7 @@ void BrowserMainWindow::setupToolBar()
m_navigationBar->addAction(m_goHome);
connect(m_goHome, SIGNAL(triggered()), this, SLOT(slotHome()));
- m_navigationBar->addWidget(m_tabWidget->lineEditStack());
+ m_navigationBar->addWidget( m_tabWidget->lineEditStack() );
m_searchBar = new SearchBar(m_navigationBar);
m_navigationBar->addWidget(m_searchBar);