put the containment in the position that best suits it as soon as possible

svn path=/trunk/KDE/kdelibs/; revision=1114490
This commit is contained in:
Aaron J. Seigo 2010-04-13 18:37:14 +00:00
parent 7aad31a3a9
commit 08c94cc3de

View File

@ -223,6 +223,7 @@ public:
}
static_cast<Applet*>(containment)->d->isContainment = true;
containment->setPos(containment->d->preferredPos(q));
q->addItem(containment);
static_cast<Applet*>(containment)->d->setIsContainment(true, true);
containments.append(containment);