diff options
author | Jonathan Thomas <echidnaman@kubuntu.org> | 2010-05-26 12:42:25 -0400 |
---|---|---|
committer | Jonathan Thomas <echidnaman@kubuntu.org> | 2010-05-26 12:42:25 -0400 |
commit | 0b735b9d5d5329c649818a6ba131755ef5c64c07 (patch) | |
tree | b29a90531314a78bacea0db720f3a7e4e4164c9d /src/webview.cpp | |
parent | Merge branch 'master' of gitorious.org:rekonq/mainline (diff) | |
download | rekonq-0b735b9d5d5329c649818a6ba131755ef5c64c07.tar.xz |
Change the autoscroll checkbox to control whether or not the auto scroll feature is enabled,
rather than wether or not it is disabled.
This solves a HIG issue, since checkboxes are always supposed to enable an option when checked,
rather than to disable an option when checked: http://techbase.kde.org/Projects/Usability/HIG/Check_Box
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 2 |
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()) { |