From c5e44c35d2b6fa88b3464799b2915036d6752eab Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 9 Jan 2009 20:44:53 +0000 Subject: [PATCH] if the applet is already in another containment, don't re-animate it as if it were new svn path=/trunk/KDE/kdelibs/; revision=908501 --- containment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containment.cpp b/containment.cpp index 766531013..1c5a91ead 100644 --- a/containment.cpp +++ b/containment.cpp @@ -732,7 +732,7 @@ void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit) applet->setPos(pos); } - if (delayInit) { + if (delayInit || currentContainment) { if (containmentType() == DesktopContainment) { applet->installSceneEventFilter(this); //applet->setWindowFlags(Qt::Window);