summaryrefslogtreecommitdiff
path: root/src/webwindow/webwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webwindow/webwindow.cpp')
-rw-r--r--src/webwindow/webwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp
index be2ba5da..35c6aed9 100644
--- a/src/webwindow/webwindow.cpp
+++ b/src/webwindow/webwindow.cpp
@@ -323,6 +323,12 @@ void WebWindow::setupActions()
a = new KAction(KIcon("tools-wizard"), i18n("Sync"), this); // FIXME sync icon!!
actionCollection()->addAction(QL1S("sync"), a);
connect(a, SIGNAL(triggered(bool)), SyncManager::self(), SLOT(showSettings()));
+
+ // web inspector
+ a = new KAction(KIcon("layer-visible-on"), i18n("&Inspect"), this);
+ a->setCheckable(true);
+ actionCollection()->addAction(QL1S("web_inspector"), a);
+ connect(a, SIGNAL(triggered(bool)), _tab, SLOT(toggleInspector(bool)));
}