diff options
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 13 |
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); |