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:
parent
0e7580b89a
commit
bba7a3d39c
@ -218,6 +218,10 @@ void Widget::setGeometry(const QRectF& geometry)
|
||||
if (layout()) {
|
||||
layout()->setGeometry(boundingRect());
|
||||
}
|
||||
|
||||
if (managingLayout()) {
|
||||
managingLayout()->invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
setPos(geometry.topLeft());
|
||||
|
Loading…
Reference in New Issue
Block a user