protect against relayout recursion here as well

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738932
This commit is contained in:
Aaron J. Seigo 2007-11-20 00:05:21 +00:00
parent e614df56d0
commit 060144d623

View File

@ -91,7 +91,13 @@ bool Layout::isEmpty() const
void Layout::updateGeometry() void Layout::updateGeometry()
{ {
if (d->relayouting) {
return;
}
d->relayouting = true;
relayout(); relayout();
d->relayouting = false;
} }
QRectF Layout::geometry() const QRectF Layout::geometry() const