setIsContainment creates the toolbox, which now reads from the config, which requires Corona to be around or else we use the wrong config file.
svn path=/trunk/KDE/kdelibs/; revision=914887
This commit is contained in:
parent
240a1632a9
commit
c2aeb35b54
@ -152,9 +152,9 @@ public:
|
|||||||
containment->setFormFactor(Plasma::Planar);
|
containment->setFormFactor(Plasma::Planar);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
q->addItem(containment);
|
||||||
static_cast<Applet*>(containment)->d->setIsContainment(true);
|
static_cast<Applet*>(containment)->d->setIsContainment(true);
|
||||||
containments.append(containment);
|
containments.append(containment);
|
||||||
q->addItem(containment);
|
|
||||||
|
|
||||||
if (!delayedInit) {
|
if (!delayedInit) {
|
||||||
containment->init();
|
containment->init();
|
||||||
@ -300,7 +300,6 @@ void Corona::loadLayout(const QString &configName)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//addItem(c);
|
|
||||||
c->init();
|
c->init();
|
||||||
c->restore(containmentConfig);
|
c->restore(containmentConfig);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user