From ae17139546eedbc1e7cc1e887b06a07122ee3a2a Mon Sep 17 00:00:00 2001 From: Christoph Feck Date: Tue, 8 Dec 2009 01:32:20 +0000 Subject: [PATCH] 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 --- src/tooltips/ktooltip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tooltips/ktooltip.cpp b/src/tooltips/ktooltip.cpp index d0da7983b5..99114106fe 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; } }