diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-10-16 19:36:37 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 3e97b8f91c33f6b49a93c59b0bcb267fe47554f9 (patch) | |
tree | b0eff0bf036b4d9c1b98f0efd066b8ea7619b7c1 /src/webwindow/webwindow.cpp | |
parent | Re-enable the restore on crash message bar :) (diff) | |
download | rekonq-3e97b8f91c33f6b49a93c59b0bcb267fe47554f9.tar.xz |
Zoom actionis restored, yeah! :D
Diffstat (limited to 'src/webwindow/webwindow.cpp')
-rw-r--r-- | src/webwindow/webwindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp index 0c635800..adca789e 100644 --- a/src/webwindow/webwindow.cpp +++ b/src/webwindow/webwindow.cpp @@ -140,7 +140,8 @@ WebWindow::WebWindow(QWidget *parent, WebPage *pg) m_popup->hide(); connect(m_hidePopupTimer, SIGNAL(timeout()), m_popup, SLOT(hide())); connect(_tab->page(), SIGNAL(linkHovered(QString, QString, QString)), this, SLOT(notifyMessage(QString))); - + connect(_tab, SIGNAL(infoToShow(QString)), this, SLOT(notifyMessage(QString))); + updateHistoryActions(); } @@ -257,6 +258,11 @@ void WebWindow::setupActions() actionCollection()->addAction(QL1S("clear_private_data"), a); connect(a, SIGNAL(triggered(bool)), rApp, SLOT(clearPrivateData())); + // Zoom ============== + KStandardAction::zoomIn(_tab, SLOT(zoomIn()), actionCollection()); + KStandardAction::zoomOut(_tab, SLOT(zoomOut()), actionCollection()); + KStandardAction::zoom(_tab, SLOT(zoomDefault()), actionCollection()); + // Bookmark ========== a = KStandardAction::addBookmark(_bar, SLOT(manageBookmarks()), actionCollection()); KShortcut bkShortcut(Qt::CTRL + Qt::Key_D); |