emit appletRemoved when moving an applet, too.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821589
This commit is contained in:
parent
83e1b75978
commit
9e1a1a0ed3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user