backport the horizontal scrollbar fix in microblogging applet

svn path=/branches/KDE/4.3/kdelibs/; revision=1002240
This commit is contained in:
Marco Martin 2009-07-25 13:18:10 +00:00
parent 55fd81456f
commit 3fa3a268f3

View File

@ -81,6 +81,9 @@ public:
layout->addItem(horizontalScrollBar, 1, 0);
horizontalScrollBar->show();
}
layout->activate();
widget->resize(scrollingWidget->size().width(), widget->size().height());
}
void verticalScroll(int value)
@ -217,8 +220,6 @@ void ScrollWidget::resizeEvent(QGraphicsSceneResizeEvent *event)
return;
}
d->widget->resize(d->scrollingWidget->size());
d->adjustScrollbars();
d->adjustClipping();