summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 7dbe8b23..953f6f38 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -511,7 +511,7 @@ void MainView::closeTab(int index)
removeTab(index);
updateTabBar(); // UI operation: do it ASAP!!
- delete tab; // webView is scheduled for deletion.
+ tab->deleteLater(); // webView is scheduled for deletion.
emit tabsChanged();