summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tabbar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 5e1feb56..58216991 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -161,6 +161,7 @@ void TabBar::showTabPreview(int tab)
int h = w*((0.0 + currentView->height())/currentView->width());
//delete previous tab preview
+ delete m_previewPopup.data();
m_previewPopup.clear();
m_previewPopup = new KPassivePopup(this);