1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

AdBlock: Remove action from Tools menu

This commit is contained in:
David Rosca 2018-01-06 12:19:55 +01:00
parent 9c17277dd5
commit 401e600821
3 changed files with 0 additions and 9 deletions

View File

@ -34,7 +34,6 @@
#include "autofill.h"
#include "mainapplication.h"
#include "checkboxdialog.h"
#include "adblockmanager.h"
#include "clickablelabel.h"
#include "docktitlebarwidget.h"
#include "iconprovider.h"

View File

@ -26,7 +26,6 @@
#include "bookmarksmenu.h"
#include "tabbedwebview.h"
#include "browserwindow.h"
#include "adblockmanager.h"
#include "downloadmanager.h"
#include "mainapplication.h"
#include "clearprivatedata.h"
@ -315,11 +314,6 @@ void MainMenu::showCookieManager()
m->raise();
}
void MainMenu::showAdBlockDialog()
{
AdBlockManager::instance()->showDialog();
}
void MainMenu::toggleWebInspector()
{
callSlot("toggleWebInspector");
@ -580,7 +574,6 @@ void MainMenu::init()
m_menuTools->addSeparator();
ADD_ACTION("Tools/DownloadManager", m_menuTools, QIcon(), tr("&Download Manager"), SLOT(showDownloadManager()), "Ctrl+Y");
ADD_ACTION("Tools/CookiesManager", m_menuTools, QIcon(), tr("&Cookies Manager"), SLOT(showCookieManager()), "");
ADD_ACTION("Tools/AdBlock", m_menuTools, QIcon(), tr("&AdBlock"), SLOT(showAdBlockDialog()), "");
ADD_ACTION("Tools/WebInspector", m_menuTools, QIcon(), tr("Web In&spector"), SLOT(toggleWebInspector()), "Ctrl+Shift+I");
ADD_ACTION("Tools/ClearRecentHistory", m_menuTools, QIcon::fromTheme(QSL("edit-clear")), tr("Clear Recent &History"), SLOT(showClearRecentHistoryDialog()), "Ctrl+Shift+Del");

View File

@ -88,7 +88,6 @@ private slots:
void showSiteInfo();
void showDownloadManager();
void showCookieManager();
void showAdBlockDialog();
void toggleWebInspector();
void showClearRecentHistoryDialog();