summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-28 16:43:17 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-28 16:43:17 +0200
commit6d5470f0383f3c8a36b8d1aa57bcafb88a743a10 (patch)
tree1064ea713e6168157c87c0c330e21c615293c2fc /src/mainwindow.cpp
parentKrazy check issues fixes.. (diff)
downloadrekonq-6d5470f0383f3c8a36b8d1aa57bcafb88a743a10.tar.xz
Fixing crash on opening tabs after closing other window(s).
It was a stupid omission by me, cleverly discovered and fixed by Johannes Zellner!! Again, thank you very much!
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 345cfda7..722189f5 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -143,6 +143,7 @@ MainWindow::MainWindow()
MainWindow::~MainWindow()
{
+ Application::instance()->removeMainWindow(this);
delete m_popup;
delete m_view;
}