summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-08 10:35:54 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-08 10:35:54 +0100
commit595760ddc38f35c8307eac5eb797975b6482461b (patch)
tree3ea3d28e1811000f4e62b15cfaf1d1c5c347d048
parentrekonq 0.3.36 (diff)
downloadrekonq-595760ddc38f35c8307eac5eb797975b6482461b.tar.xz
Fix tab preview.
WeakPointer misconcept
-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);