summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego Soenens <hyperz.2007@gmail.com>2013-07-30 21:39:52 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-07-30 21:41:51 +0200
commit9e47252ceb160d1fd9caba8b7c3793d763cb94d6 (patch)
tree536b7f2c578a288fc5522fdc01616e7f092b79ff /src
parentAdding domain-specific hiding support to the adblocker. (diff)
downloadrekonq-9e47252ceb160d1fd9caba8b7c3793d763cb94d6.tar.xz
Move autoscroll timer interval from 100ms to 16ms
The current m_autoScrollTimer interval of 100ms (10 FPS!) makes auto-scrolling feel sluggish and unresponsive. IMHO it should have the same interval as m_smoothScrollTimer (16ms) so that it feels smooth and responsive. REVIEW: 111567 REVIEWED-BY: adjam
Diffstat (limited to 'src')
-rw-r--r--src/webtab/webview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index ce3f5a9f..40a62864 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -114,7 +114,7 @@ WebView::WebView(QWidget* parent, bool isPrivateBrowsing)
// Auto scroll timer
connect(m_autoScrollTimer, SIGNAL(timeout()), this, SLOT(scrollFrameChanged()));
- m_autoScrollTimer->setInterval(100);
+ m_autoScrollTimer->setInterval(16);
// Smooth scroll timer
connect(m_smoothScrollTimer, SIGNAL(timeout()), this, SLOT(scrollTick()));