summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitrios Christidis <dchristidis@ceid.upatras.gr>2013-02-16 12:47:52 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-02-17 18:37:42 +0100
commit3c7e4505dbd94f7bcf8e7f284583e6dd426aaa65 (patch)
treeeb75fd092e496daa8395b565bc35e8cdf13a7cf3 /src
parentClosed tabs page, last bits (?) (diff)
downloadrekonq-3c7e4505dbd94f7bcf8e7f284583e6dd426aaa65.tar.xz
Do not display Access Keys upon Ctrl+Click.
BUG: 312785 REVIEW: 108981 Signed-off-by: Andrea Diamantini <adjam7@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/webtab/webview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index f668e89d..4b9d3b9e 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -634,6 +634,10 @@ void WebView::mousePressEvent(QMouseEvent *event)
break;
};
+ // If Control was pressed, do not display Access Keys upon release.
+ if (ReKonfig::accessKeysEnabled() && event->modifiers() == Qt::ControlModifier)
+ m_accessKeysPressed = false;
+
KWebView::mousePressEvent(event);
}