From bba7a3d39c418745433ee2f7e188c771e93d868a Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sun, 4 Nov 2007 05:36:39 +0000 Subject: [PATCH] invalidate the managing layout on geometry changes, which is what i expected it to do in the first place. calling setGeometry and then updateGeometry is just damaged svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732530 --- widgets/widget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/widgets/widget.cpp b/widgets/widget.cpp index 834c33457..8225eb087 100644 --- a/widgets/widget.cpp +++ b/widgets/widget.cpp @@ -218,6 +218,10 @@ void Widget::setGeometry(const QRectF& geometry) if (layout()) { layout()->setGeometry(boundingRect()); } + + if (managingLayout()) { + managingLayout()->invalidate(); + } } setPos(geometry.topLeft());