protect against relayout recursion here as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738932
This commit is contained in:
parent
e614df56d0
commit
060144d623
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user