diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-23 21:42:58 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-23 21:42:58 +0200 |
commit | 27769a7ec919c39c1bfec77b01be92c6c60bc73c (patch) | |
tree | ddc31d645102415dc5dd5d428f8131d921002e2c /src | |
parent | CTRL has been promoted to rekonq favorite modifier... (diff) | |
download | rekonq-27769a7ec919c39c1bfec77b01be92c6c60bc73c.tar.xz |
Revert "CTRL has been promoted to rekonq favorite modifier..."
This reverts commit 6af8043ea81634d826508e2bbaf02cdeedd8cd7f.
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index ce38d2ef..8380d064 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -545,17 +545,16 @@ void WebView::openLinkInNewTab() void WebView::keyPressEvent(QKeyEvent *event) { - // CTRL has been promoted rekonq favorite modifier.. :D - if ( event->modifiers() == Qt::ControlModifier ) + if ((event->modifiers() == Qt::ControlModifier) && (event->key() == Qt::Key_C)) + { + triggerPageAction(QWebPage::Copy); + return; + } + + if (event->modifiers() == Qt::ShiftModifier) { switch (event->key()) { - case Qt::Key_A: - triggerPageAction(QWebPage::SelectAll); - return; - case Qt::Key_C: - triggerPageAction(QWebPage::Copy); - return; case Qt::Key_Down: startScrollAnimation(WebView::Down); return; |