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
This commit is contained in:
Aaron J. Seigo 2007-11-04 05:36:39 +00:00
parent 0e7580b89a
commit bba7a3d39c

View File

@ -218,6 +218,10 @@ void Widget::setGeometry(const QRectF& geometry)
if (layout()) { if (layout()) {
layout()->setGeometry(boundingRect()); layout()->setGeometry(boundingRect());
} }
if (managingLayout()) {
managingLayout()->invalidate();
}
} }
setPos(geometry.topLeft()); setPos(geometry.topLeft());