Flush constraints in corona rather than containment

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757860
This commit is contained in:
Jason Stubbs 2008-01-06 07:17:53 +00:00
parent 7524f321dd
commit b5983aed50
2 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,6 @@ void Containment::loadConstraints(KConfigGroup* group)
setLocation((Plasma::Location)group->readEntry("location", (int)d->location));
setFormFactor((Plasma::FormFactor)group->readEntry("formfactor", (int)d->formFactor));
setScreen(group->readEntry("screen", d->screen));
flushUpdatedConstraints();
}
void Containment::saveConstraints(KConfigGroup* group) const

View File

@ -212,6 +212,7 @@ void Corona::loadApplets(const QString& configName)
addItem(c);
c->init();
c->loadConstraints(&containmentConfig);
c->flushUpdatedConstraints();
//kDebug() << "Containment" << c->id() << "geometry is" << c->geometry().toRect() << "config'd with" << appletConfig.name();
KConfigGroup applets(&containmentConfig, "Applets");