summaryrefslogtreecommitdiff
path: root/src/webwindow
diff options
context:
space:
mode:
Diffstat (limited to 'src/webwindow')
-rw-r--r--src/webwindow/webwindow.cpp6
-rw-r--r--src/webwindow/webwindow.h2
2 files changed, 7 insertions, 1 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)));
}
diff --git a/src/webwindow/webwindow.h b/src/webwindow/webwindow.h
index c37704d5..ce71e7b9 100644
--- a/src/webwindow/webwindow.h
+++ b/src/webwindow/webwindow.h
@@ -112,7 +112,7 @@ private Q_SLOTS:
void updateHistoryActions();
void openNewWindow();
-
+
/**
* Notifies a message in a popup
*/