summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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()));