summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-12-13 18:04:49 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-12-13 18:04:49 +0100
commitbb4381cb242827eb59ce4a502b9d76ea1218f713 (patch)
treea5b5edaa48ab3d22df2c9c16b6cb49b78b7eed4c /src
parentSome changes by me: Find action after open link items (diff)
downloadrekonq-bb4381cb242827eb59ce4a502b9d76ea1218f713.tar.xz
Change text of page source action && add a CTRL + U shortcut.
Courtesy patch by Felix Rohrbach. Thanks :) CCMAIL: fxrh@gmx.de
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index c9863f07..447885d0 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -406,8 +406,9 @@ void MainWindow::setupActions()
m_zoomBar->setupActions(this);
// =============================== Tools Actions =================================
- a = new KAction(i18n("Page S&ource"), this);
+ a = new KAction(i18n("View Page S&ource"), this);
a->setIcon(KIcon("application-xhtml+xml"));
+ a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_U));
actionCollection()->addAction(QL1S("page_source"), a);
connect(a, SIGNAL(triggered(bool)), this, SLOT(viewPageSource()));