round the position to integer, prevents an ugly effect of dancing fonts
svn path=/trunk/KDE/kdelibs/; revision=1051556
This commit is contained in:
parent
ad028bab20
commit
ea0494d0fb
@ -404,7 +404,7 @@ QSizeF ScrollWidget::contentsSize() const
|
||||
void ScrollWidget::setScrollPosition(const QPointF &position)
|
||||
{
|
||||
if (d->widget) {
|
||||
d->widget->setPos(-position);
|
||||
d->widget->setPos(-position.toPoint());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user