https://bugs.kde.org/show_bug.cgi?id=422050
Raul Laasner <raullaas...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |raullaas...@gmail.com --- Comment #1 from Raul Laasner <raullaas...@gmail.com> --- The following fix worked for me: diff --git a/ui/pageview.cpp b/ui/pageview.cpp index 50f8073ec..9bdb778ec 100644 --- a/ui/pageview.cpp +++ b/ui/pageview.cpp @@ -5375,7 +5376,7 @@ void PageView::slotScrollUp( int nSteps ) d->scroller->scrollTo(d->scroller->finalPosition() + QPoint(0,-100*nSteps), 0); }else{ if(d->scroller->finalPosition().y() > verticalScrollBar()->minimum()) - d->scroller->scrollTo(d->scroller->finalPosition() + QPoint(0, -verticalScrollBar()->rect().height() )); + d->scroller->scrollTo(d->scroller->finalPosition() + QPoint(0, -verticalScrollBar()->rect().height() ), 0); } } else if ( d->document->currentPage() > 0 ) @@ -5403,7 +5404,7 @@ void PageView::slotScrollDown( int nSteps ) d->scroller->scrollTo(d->scroller->finalPosition() + QPoint(0,100*nSteps), 0); }else{ if(d->scroller->finalPosition().y() < verticalScrollBar()->maximum()) - d->scroller->scrollTo(d->scroller->finalPosition() + QPoint(0, verticalScrollBar()->rect().height() )); + d->scroller->scrollTo(d->scroller->finalPosition() + QPoint(0, verticalScrollBar()->rect().height() ), 0); } } else if ( (int)d->document->currentPage() < d->items.count() - 1 ) The second argument of scrollTo is the animation speed, which I've set to zero. -- You are receiving this mail because: You are watching all bug changes.