summaryrefslogtreecommitdiffstats
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r--src/tabwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp
index b33be4f..bee6ea7 100644
--- a/src/tabwidget.cpp
+++ b/src/tabwidget.cpp
@@ -186,7 +186,7 @@ void TabWidget::slotCloseTab()
{
if(!currentItem) return;
removePage(currentItem);
- delete currentItem;
+ emit tabClosed( currentItem->name() );
currentItem = 0;
}