call restore on new containments too

svn path=/trunk/KDE/kdelibs/; revision=1152621
This commit is contained in:
Aaron J. Seigo 2010-07-21 15:57:36 +00:00
parent beca8835e1
commit 3a2ffb1238

View File

@ -238,8 +238,9 @@ public:
if (!delayedInit) {
containment->init();
containment->updateConstraints(Plasma::StartupCompletedConstraint);
KConfigGroup cg = containment->config();
containment->restore(cg);
containment->updateConstraints(Plasma::StartupCompletedConstraint);
containment->save(cg);
q->requestConfigSync();
containment->flushPendingConstraintsEvents();