flush pending constraint events after adding a containment, this makes

the close buttons appear and relayout when resized

svn path=/trunk/KDE/kdelibs/; revision=892097
This commit is contained in:
Marco Martin 2008-12-03 14:31:59 +00:00
parent 5055bf7bf0
commit b2d528c0d3

View File

@ -161,6 +161,7 @@ public:
KConfigGroup cg = containment->config(); KConfigGroup cg = containment->config();
containment->save(cg); containment->save(cg);
q->requestConfigSync(); q->requestConfigSync();
containment->flushPendingConstraintsEvents();
} }
QObject::connect(containment, SIGNAL(destroyed(QObject*)), QObject::connect(containment, SIGNAL(destroyed(QObject*)),