From 5f6b2421277978500046f4a53dd9895588922d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9nard?= Date: Mon, 19 May 2008 19:19:47 +0000 Subject: [PATCH] This magic line seems to fix our crash with embeeded widget svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809939 --- applet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applet.cpp b/applet.cpp index ffc000854..ca02faac2 100644 --- a/applet.cpp +++ b/applet.cpp @@ -289,10 +289,12 @@ void Applet::Private::appletAnimationComplete(QGraphicsItem *item, Plasma::Anima } } } - + if (configXml) { configXml->setDefaults(); } + + q->scene()->removeItem(q); q->deleteLater(); }