From 972ecd365b71fc1bbda7ea9362b21aa965b25d6e Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 21 Jan 2009 23:53:05 +0000 Subject: [PATCH] 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 --- corona.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/corona.cpp b/corona.cpp index 0a35ec44b..ae9e4b95b 100644 --- a/corona.cpp +++ b/corona.cpp @@ -152,9 +152,9 @@ public: containment->setFormFactor(Plasma::Planar); } + q->addItem(containment); static_cast(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); }