summaryrefslogtreecommitdiff
path: root/qutebrowser/components/braveadblock.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/components/braveadblock.py')
-rw-r--r--qutebrowser/components/braveadblock.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qutebrowser/components/braveadblock.py b/qutebrowser/components/braveadblock.py
index 977aa3ef2..a10e6e95a 100644
--- a/qutebrowser/components/braveadblock.py
+++ b/qutebrowser/components/braveadblock.py
@@ -27,7 +27,7 @@ import contextlib
import subprocess
from typing import Optional, IO, Iterator
-from PyQt5.QtCore import QUrl
+from qutebrowser.qt import QtCore
from qutebrowser.api import (
hook,
@@ -185,8 +185,8 @@ class BraveAdBlocker:
def _is_blocked(
self,
- request_url: QUrl,
- first_party_url: Optional[QUrl] = None,
+ request_url: QtCore.QUrl,
+ first_party_url: Optional[QtCore.QUrl] = None,
resource_type: Optional[interceptor.ResourceType] = None,
) -> bool:
"""Check whether the given request is blocked."""