diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-12 11:40:44 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-12 11:40:44 +0200 |
commit | 95a40255cdf9a87c98c210e2a7af4f1035e0f54f (patch) | |
tree | 127657c1da2d7b8edc34c316eb7ac96952b10412 /src | |
parent | Merge commit 'refs/merge-requests/164' of git://gitorious.org/rekonq/mainline... (diff) | |
parent | Fix smooth scrolling for some sites (eg: gmail) (diff) | |
download | rekonq-95a40255cdf9a87c98c210e2a7af4f1035e0f54f.tar.xz |
Merge commit 'refs/merge-requests/165' of git://gitorious.org/rekonq/mainline
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 5a7cfeac..441225af 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -677,9 +677,9 @@ void WebView::scrollTick() } if (_scrollBottom) - page()->mainFrame()->setScrollPosition( QPoint( 0, page()->mainFrame()->scrollPosition().y() + scroll_y ) ); + page()->currentFrame()->scroll(0, scroll_y); else - page()->mainFrame()->setScrollPosition( QPoint( 0, page()->mainFrame()->scrollPosition().y() - scroll_y ) ); + page()->currentFrame()->scroll(0, -scroll_y); } |