From 5bbb0685bba916ebc9b9b2c7d661f7dc3725a00e Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 10 Nov 2008 07:49:20 +0000 Subject: [PATCH] add containments to the collection sooner so that they can be positioned properly svn path=/trunk/KDE/kdelibs/; revision=882247 --- corona.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corona.cpp b/corona.cpp index 304a9e0aa..5ece1d2f7 100644 --- a/corona.cpp +++ b/corona.cpp @@ -152,6 +152,7 @@ public: } static_cast(containment)->d->setIsContainment(true); + containments.append(containment); q->addItem(containment); if (!delayedInit) { @@ -162,7 +163,6 @@ public: q->requestConfigSync(); } - containments.append(containment); QObject::connect(containment, SIGNAL(destroyed(QObject*)), q, SLOT(containmentDestroyed(QObject*))); QObject::connect(containment, SIGNAL(configNeedsSaving()),