From 0b735b9d5d5329c649818a6ba131755ef5c64c07 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Wed, 26 May 2010 12:42:25 -0400 Subject: 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 --- src/webview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webview.cpp') 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()) { -- cgit v1.2.1