summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/webview.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 8380d064..ce38d2ef 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -545,16 +545,17 @@ void WebView::openLinkInNewTab()
void WebView::keyPressEvent(QKeyEvent *event)
{
- if ((event->modifiers() == Qt::ControlModifier) && (event->key() == Qt::Key_C))
- {
- triggerPageAction(QWebPage::Copy);
- return;
- }
-
- if (event->modifiers() == Qt::ShiftModifier)
+ // CTRL has been promoted rekonq favorite modifier.. :D
+ if ( event->modifiers() == Qt::ControlModifier )
{
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;