diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-10-30 18:14:05 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 6a888c7dabe2eeb1cf8bc2c3a820e998699f892a (patch) | |
tree | 2a498398d25165ec0ad25e947a6781672a22a5ce /src | |
parent | rekonq 1.70 (diff) | |
download | rekonq-6a888c7dabe2eeb1cf8bc2c3a820e998699f892a.tar.xz |
Fix default zoom shortcut
Diffstat (limited to 'src')
-rw-r--r-- | src/webwindow/webwindow.cpp | 3 |
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()); |