From: Christoph Feck Date: Tue, 8 Dec 2009 01:32:20 +0000 (+0000) Subject: Fix crash with tool tips enabled X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/ae17139546eedbc1e7cc1e887b06a07122ee3a2a 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 --- 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; } }