summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-02 23:59:55 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-07-02 23:59:55 +0200
commit3fe4c1babab5471ee32857d6099ae351d6e427f9 (patch)
tree2f4306993a77f5f89642fff54b2ad7d623fcd55d /src
parentrekonq 0.9.82 (diff)
downloadrekonq-3fe4c1babab5471ee32857d6099ae351d6e427f9.tar.xz
Delete tab later to get sure everything has been finished.
BUG: 299149
Diffstat (limited to 'src')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 3ec838fd..d673b7fa 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -506,7 +506,7 @@ void MainView::closeTab(int index, bool del)
if (del)
{
- delete tabToClose;
+ tabToClose->deleteLater();
}
}