From 692d55fff77121bf542b4dcdcd075aa1f06787e1 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 11 Jan 2018 20:03:14 +0100 Subject: [PATCH] AdBlock: Move remaining code to adblock subdir --- src/lib/adblock/adblockaddsubscriptiondialog.cpp | 1 + src/lib/adblock/adblockmanager.h | 2 ++ src/lib/app/qzcommon.h | 2 -- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/adblock/adblockaddsubscriptiondialog.cpp b/src/lib/adblock/adblockaddsubscriptiondialog.cpp index db89ce100..c010b0f9f 100644 --- a/src/lib/adblock/adblockaddsubscriptiondialog.cpp +++ b/src/lib/adblock/adblockaddsubscriptiondialog.cpp @@ -17,6 +17,7 @@ * ============================================================ */ #include "adblockaddsubscriptiondialog.h" #include "ui_adblockaddsubscriptiondialog.h" +#include "adblockmanager.h" AdBlockAddSubscriptionDialog::AdBlockAddSubscriptionDialog(QWidget* parent) : QDialog(parent) diff --git a/src/lib/adblock/adblockmanager.h b/src/lib/adblock/adblockmanager.h index b9795645e..7f2b17ec0 100644 --- a/src/lib/adblock/adblockmanager.h +++ b/src/lib/adblock/adblockmanager.h @@ -27,6 +27,8 @@ #include "qzcommon.h" +#define ADBLOCK_EASYLIST_URL "https://easylist-downloads.adblockplus.org/easylist.txt" + class AdBlockRule; class AdBlockDialog; class AdBlockMatcher; diff --git a/src/lib/app/qzcommon.h b/src/lib/app/qzcommon.h index 11445c543..406c838c3 100644 --- a/src/lib/app/qzcommon.h +++ b/src/lib/app/qzcommon.h @@ -112,8 +112,6 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(Qz::NewTabPositionFlags) } -#define ADBLOCK_EASYLIST_URL "https://easylist-downloads.adblockplus.org/easylist.txt" - #if defined(Q_OS_WIN) || defined(Q_OS_OS2) #define DEFAULT_THEME_NAME "windows" #elif defined(Q_OS_MACOS)