From a3d931a84b235419fd968c2172c3717818ded246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 7 Mar 2008 19:54:11 +0000 Subject: [PATCH] QObject: Do not delete object, 'unnamed', during its event handler! BUG: 156998 svn path=/trunk/KDE/kdebase/workspace/; revision=783314 --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index c1d572be6c..28bffd1301 100644 --- a/client.cpp +++ b/client.cpp @@ -1089,7 +1089,7 @@ void Client::gotPing( Time timestamp ) void Client::pingTimeout() { kDebug( 1212 ) << "Ping timeout:" << caption(); - delete ping_timer; + ping_timer->deleteLater(); ping_timer = NULL; killProcess( true, ping_timestamp ); }