remove ContainmentPrivate::initApplets
This commit is contained in:
parent
bc1b63ebad
commit
54f0fc4926
@ -709,7 +709,6 @@ QList<Plasma::Containment *> CoronaPrivate::importLayout(const KConfigGroup &con
|
||||
|
||||
foreach (Containment *containment, newContainments) {
|
||||
containment->updateConstraints(Plasma::StartupCompletedConstraint);
|
||||
containment->d->initApplets();
|
||||
emit q->containmentAdded(containment);
|
||||
#ifndef NDEBUG
|
||||
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Containment" << containment->name();
|
||||
|
@ -105,27 +105,6 @@ void ContainmentPrivate::addDefaultActions(KActionCollection *actions, Containme
|
||||
action->setData(Containment::ControlTool);
|
||||
}
|
||||
|
||||
void ContainmentPrivate::initApplets()
|
||||
{
|
||||
foreach (Applet *applet, applets) {
|
||||
applet->restore(*applet->d->mainConfigGroup());
|
||||
applet->init();
|
||||
#ifndef NDEBUG
|
||||
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Applet" << applet->title();
|
||||
#endif
|
||||
}
|
||||
|
||||
q->flushPendingConstraintsEvents();
|
||||
|
||||
foreach (Applet *applet, applets) {
|
||||
applet->flushPendingConstraintsEvents();
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Containment's applets initialized" << q->title();
|
||||
#endif
|
||||
}
|
||||
|
||||
void ContainmentPrivate::checkContainmentFurniture()
|
||||
{
|
||||
if (q->isContainment() &&
|
||||
|
@ -83,7 +83,6 @@ public:
|
||||
*/
|
||||
void containmentConstraintsEvent(Plasma::Constraints constraints);
|
||||
|
||||
void initApplets();
|
||||
void checkContainmentFurniture();
|
||||
bool isPanelContainment() const;
|
||||
void setLockToolText();
|
||||
|
Loading…
Reference in New Issue
Block a user