resize the widget -after- hadjusting the scrollbar visibility

svn path=/trunk/KDE/kdelibs/; revision=1002234
This commit is contained in:
Marco Martin 2009-07-25 12:48:30 +00:00
parent 0cdd7388b4
commit c702490625

View File

@ -217,12 +217,12 @@ void ScrollWidget::resizeEvent(QGraphicsSceneResizeEvent *event)
return;
}
d->widget->resize(d->scrollingWidget->size());
d->adjustScrollbars();
d->adjustClipping();
d->widget->resize(d->scrollingWidget->size());
QGraphicsWidget::resizeEvent(event);
}