setIsContainment creates the toolbox which now reads the config, so we need the Corona sooner to get the right config file
svn path=/branches/KDE/4.2/kdelibs/; revision=914888
This commit is contained in:
parent
cba376cd4c
commit
972ecd365b
@ -152,9 +152,9 @@ public:
|
||||
containment->setFormFactor(Plasma::Planar);
|
||||
}
|
||||
|
||||
q->addItem(containment);
|
||||
static_cast<Applet*>(containment)->d->setIsContainment(true);
|
||||
containments.append(containment);
|
||||
q->addItem(containment);
|
||||
|
||||
if (!delayedInit) {
|
||||
containment->init();
|
||||
@ -300,7 +300,6 @@ void Corona::loadLayout(const QString &configName)
|
||||
continue;
|
||||
}
|
||||
|
||||
//addItem(c);
|
||||
c->init();
|
||||
c->restore(containmentConfig);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user