Fix URL retrieval in navigation request handler for restricted web view
This commit is contained in:
parent
6db67ee445
commit
736b80b8f1
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class RestrictedWebEngineView(QWebEngineView):
|
||||||
Args:
|
Args:
|
||||||
request: Navigation request to process
|
request: Navigation request to process
|
||||||
"""
|
"""
|
||||||
url = request.url()
|
url = request.url
|
||||||
|
|
||||||
# If no restrictions, allow all URLs
|
# If no restrictions, allow all URLs
|
||||||
if not self.allowed_urls:
|
if not self.allowed_urls:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue