summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-10-30 18:14:05 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commit6a888c7dabe2eeb1cf8bc2c3a820e998699f892a (patch)
tree2a498398d25165ec0ad25e947a6781672a22a5ce
parentrekonq 1.70 (diff)
downloadrekonq-6a888c7dabe2eeb1cf8bc2c3a820e998699f892a.tar.xz
Fix default zoom shortcut
-rw-r--r--src/webwindow/webwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp
index 5bb89dc4..8e6a6e4b 100644
--- a/src/webwindow/webwindow.cpp
+++ b/src/webwindow/webwindow.cpp
@@ -274,7 +274,8 @@ void WebWindow::setupActions()
// Zoom ==============
KStandardAction::zoomIn(_tab, SLOT(zoomIn()), actionCollection());
KStandardAction::zoomOut(_tab, SLOT(zoomOut()), actionCollection());
- KStandardAction::zoom(_tab, SLOT(zoomDefault()), actionCollection());
+ a = KStandardAction::zoom(_tab, SLOT(zoomDefault()), actionCollection());
+ a->setShortcut(KShortcut(Qt::CTRL | Qt::Key_0));
// Bookmark ==========
a = KStandardAction::addBookmark(_bar, SLOT(manageBookmarks()), actionCollection());