This magic line seems to fix our crash with embeeded widget

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809939
This commit is contained in:
Alexis Ménard 2008-05-19 19:19:47 +00:00
parent 50889239d6
commit 5f6b242127

View File

@ -294,6 +294,8 @@ void Applet::Private::appletAnimationComplete(QGraphicsItem *item, Plasma::Anima
configXml->setDefaults();
}
q->scene()->removeItem(q);
q->deleteLater();
}