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
This commit is contained in:
Christoph Feck 2009-12-08 01:32:20 +00:00
parent cc88568ad6
commit ae17139546

View file

@ -75,7 +75,7 @@ void KToolTipManager::hideTip()
{
if (m_window != 0) {
m_window->hide();
delete m_window;
m_window->deleteLater();
m_window = 0;
}
}