summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}
}