restore; usually not needed as this path is usually for new applets (and so the values won't do anything) but can also be used for applets created elsewhere; will be useful for the kpart work
svn path=/trunk/KDE/kdelibs/; revision=1141866
This commit is contained in:
parent
8eb2ed8050
commit
bf60c264ac
@ -980,6 +980,7 @@ void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit)
|
|||||||
//applet->setWindowFlags(Qt::Window);
|
//applet->setWindowFlags(Qt::Window);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
applet->restore(*applet->d->mainConfigGroup());
|
||||||
applet->init();
|
applet->init();
|
||||||
Plasma::Animation *anim = Plasma::Animator::create(Plasma::Animator::AppearAnimation);
|
Plasma::Animation *anim = Plasma::Animator::create(Plasma::Animator::AppearAnimation);
|
||||||
if (anim) {
|
if (anim) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user