summaryrefslogtreecommitdiff
path: root/src/webwindow/webwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-10-16 19:36:37 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commit3e97b8f91c33f6b49a93c59b0bcb267fe47554f9 (patch)
treeb0eff0bf036b4d9c1b98f0efd066b8ea7619b7c1 /src/webwindow/webwindow.cpp
parentRe-enable the restore on crash message bar :) (diff)
downloadrekonq-3e97b8f91c33f6b49a93c59b0bcb267fe47554f9.tar.xz
Zoom actionis restored, yeah! :D
Diffstat (limited to 'src/webwindow/webwindow.cpp')
-rw-r--r--src/webwindow/webwindow.cpp8
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);