summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-23 22:40:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-23 22:40:16 +0200
commite9b44332ea780f544afb8d17adc626259589a5d5 (patch)
tree764bfb4a78b652075f1343acf656a15b7cced24d /src
parentRevert "CTRL has been promoted to rekonq favorite modifier..." (diff)
downloadrekonq-e9b44332ea780f544afb8d17adc626259589a5d5.tar.xz
no shift + arrows scrolling actions for rekonq 0.3
This to let shift + arrow selection to work properly
Diffstat (limited to 'src')
-rw-r--r--src/webview.cpp21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 8380d064..7efded7f 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -551,25 +551,10 @@ void WebView::keyPressEvent(QKeyEvent *event)
return;
}
- if (event->modifiers() == Qt::ShiftModifier)
+ if ((event->modifiers() == Qt::ControlModifier) && (event->key() == Qt::Key_A))
{
- switch (event->key())
- {
- case Qt::Key_Down:
- startScrollAnimation(WebView::Down);
- return;
- case Qt::Key_Up:
- startScrollAnimation(WebView::Up);
- return;
- case Qt::Key_Left:
- startScrollAnimation(WebView::Left);
- return;
- case Qt::Key_Right:
- startScrollAnimation(WebView::Right);
- return;
- default:
- break;
- }
+ triggerPageAction(QWebPage::SelectAll);
+ return;
}
QWebView::keyPressEvent(event);