┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Feck <[email protected]>2009-12-08 01:32:20 +0000
committerChristoph Feck <[email protected]>2009-12-08 01:32:20 +0000
commitae17139546eedbc1e7cc1e887b06a07122ee3a2a (patch)
treead6dc612cef0987bf902386d5be02a5b94ed81c0
parentcc88568ad631f28f90a739b54213df1f9d4006d1 (diff)
Fix crash with tool tips enabled
Do not delete window inside the event handling, causing crashes with queued events for the tool tip window. This is the same fix that had been applied to systemsettings. BUG: 217449 svn path=/trunk/KDE/kdebase/apps/; revision=1060080
-rw-r--r--src/tooltips/ktooltip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tooltips/ktooltip.cpp b/src/tooltips/ktooltip.cpp
index d0da7983b..99114106f 100644
--- a/src/tooltips/ktooltip.cpp
+++ b/src/tooltips/ktooltip.cpp
@@ -75,7 +75,7 @@ void KToolTipManager::hideTip()
{
if (m_window != 0) {
m_window->hide();
- delete m_window;
+ m_window->deleteLater();
m_window = 0;
}
}