summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-08-04 11:43:23 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-08-04 11:48:57 +0200
commit309cd39927b613c378346a29330333be727c2a99 (patch)
tree994c7b1b0f189eddb530c5d83688b9c6016ac9a9 /src/webview.cpp
parentaction to search with default searchEnine in marked text's context menu. REVI... (diff)
downloadrekonq-309cd39927b613c378346a29330333be727c2a99.tar.xz
Tools Action Menu
- Removed showDeveloperTools action - Moved adblock GUI to adblock part - renamed toolsMenu and developerMenu to reflect their real/new roles - Added UserAgent action to the tools menu REVIEW:102170 REVIEWED-BY: fritz_van_tom
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index f31d2343..d8325543 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -263,8 +263,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
menu.addSeparator();
- if (ReKonfig::showDeveloperTools())
- menu.addAction(inspectAction);
+ menu.addAction(inspectAction);
// TODO Add translate, show translation
}
@@ -289,8 +288,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
menu.addSeparator();
- if (ReKonfig::showDeveloperTools())
- menu.addAction(inspectAction);
+ menu.addAction(inspectAction);
}
// page actions
@@ -347,11 +345,8 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
menu.addAction(a);
}
- if (ReKonfig::showDeveloperTools())
- {
- menu.addAction(mainwindow->actionByName("page_source"));
- menu.addAction(inspectAction);
- }
+ menu.addAction(mainwindow->actionByName("page_source"));
+ menu.addAction(inspectAction);
a = rApp->bookmarkProvider()->actionByName("rekonq_add_bookmark");
menu.addAction(a);