add containments to the collection sooner so that they can be positioned properly
svn path=/trunk/KDE/kdelibs/; revision=882247
This commit is contained in:
parent
7afd2e9d99
commit
5bbb0685bb
@ -152,6 +152,7 @@ public:
|
||||
}
|
||||
|
||||
static_cast<Applet*>(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()),
|
||||
|
Loading…
Reference in New Issue
Block a user