emit appletRemoved when moving an applet, too.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821589
This commit is contained in:
Aaron J. Seigo 2008-06-17 21:54:43 +00:00
parent 83e1b75978
commit 9e1a1a0ed3

View File

@ -532,6 +532,7 @@ void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit)
}
if (currentContainment && currentContainment != this) {
emit currentContainment->appletRemoved(applet);
applet->removeSceneEventFilter(currentContainment);
KConfigGroup oldConfig = applet->config();
currentContainment->d->applets.removeAll(applet);