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:
Aaron J. Seigo 2010-06-23 17:50:16 +00:00
parent 8eb2ed8050
commit bf60c264ac

View File

@ -980,6 +980,7 @@ void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit)
//applet->setWindowFlags(Qt::Window);
}
} else {
applet->restore(*applet->d->mainConfigGroup());
applet->init();
Plasma::Animation *anim = Plasma::Animator::create(Plasma::Animator::AppearAnimation);
if (anim) {