summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-27 02:45:14 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-27 02:45:14 +0200
commit1b57f66170ef7f32116120ddb1ac2e2749075778 (patch)
tree19ad7a7ea7acf1274d3418395d4e0653b4121334 /src/webview.cpp
parentMerge commit 'refs/merge-requests/2283' of git://gitorious.org/rekonq/mainlin... (diff)
parentChange the autoscroll checkbox to control whether or not the auto scroll feat... (diff)
downloadrekonq-1b57f66170ef7f32116120ddb1ac2e2749075778.tar.xz
Merge commit 'refs/merge-requests/2284' of git://gitorious.org/rekonq/mainline into m2284
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 878a7403..a26cf63f 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 = !ReKonfig::disableAutoScroll() && !result.isContentEditable() && result.linkUrl().isEmpty();
+ _canEnableAutoScroll = ReKonfig::autoScroll() && !result.isContentEditable() && result.linkUrl().isEmpty();
switch (event->button())
{