summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-21 16:00:51 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-21 16:00:51 +0200
commit67737269a6358994dc1468e247691cf15e42ad7f (patch)
tree3a4f41e38a90d6bcaadc66f5eab01929ca57fcf2 /src/webview.cpp
parenttitle for bookmark. Removed fallback mechanism (diff)
downloadrekonq-67737269a6358994dc1468e247691cf15e42ad7f.tar.xz
Cedric's patch
let autoscroll being optional (active by default..)
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 86b60fac..99c48f0b 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -316,7 +316,7 @@ void WebView::mousePressEvent(QMouseEvent *event)
}
QWebHitTestResult result = page()->mainFrame()->hitTestContent(event->pos());
- _canEnableAutoScroll = !result.isContentEditable() && result.linkUrl().isEmpty();
+ _canEnableAutoScroll = !ReKonfig::disableAutoScroll() && !result.isContentEditable() && result.linkUrl().isEmpty();
switch (event->button())
{