allow widgets to change their size even if there isn't a layout (because that was just silly)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723915
This commit is contained in:
Aaron J. Seigo 2007-10-11 03:30:50 +00:00
parent 3d0bdf2e42
commit 0f66f80fe2

View File

@ -233,6 +233,8 @@ void Widget::updateGeometry()
{
if (managingLayout()) {
managingLayout()->invalidate();
} else {
setGeometry(QRectF(pos(), sizeHint()));
}
}