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:
parent
9c17277dd5
commit
401e600821
@ -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"
|
||||
|
@ -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");
|
||||
|
||||
|
@ -88,7 +88,6 @@ private slots:
|
||||
void showSiteInfo();
|
||||
void showDownloadManager();
|
||||
void showCookieManager();
|
||||
void showAdBlockDialog();
|
||||
void toggleWebInspector();
|
||||
void showClearRecentHistoryDialog();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user