Skip to content

Commit 95ee6be

Browse files
committed
Fix AdBlock menu crash.
1 parent 85d22c9 commit 95ee6be

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/network-web/adblock/adblockmanager.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Q_GLOBAL_STATIC(AdBlockManager, qz_adblock_manager)
4242

4343

4444
AdBlockManager::AdBlockManager(QObject* parent)
45-
: QObject(parent), m_loaded(false), m_enabled(true), m_matcher(new AdBlockMatcher(this)), m_interceptor(new AdBlockUrlInterceptor(this)) {
46-
m_adblockIcon = new AdBlockIcon(this);
47-
m_adblockIcon->setObjectName(QSL("m_adblockIconAction"));
48-
load();
45+
: QObject(parent), m_loaded(false), m_enabled(true), m_matcher(new AdBlockMatcher(this)), m_interceptor(new AdBlockUrlInterceptor(this)) {
46+
load();
47+
m_adblockIcon = new AdBlockIcon(this);
48+
m_adblockIcon->setObjectName(QSL("m_adblockIconAction"));
4949
}
5050

5151
AdBlockManager::~AdBlockManager() {

0 commit comments

Comments
 (0)