From bb4381cb242827eb59ce4a502b9d76ea1218f713 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 13 Dec 2010 18:04:49 +0100 Subject: Change text of page source action && add a CTRL + U shortcut. Courtesy patch by Felix Rohrbach. Thanks :) CCMAIL: fxrh@gmx.de --- src/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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())); -- cgit v1.2.1