diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-08-26 17:27:45 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-08-26 17:27:45 +0200 |
commit | 64d6c2e65ed4a7839c2b6414a810937dbfb79841 (patch) | |
tree | 988c2ae4b6f239442f1da7e4d62b8139319e2fd8 /qutebrowser | |
parent | b5af26f8d07b840fd187874df6ccaded60a67cc9 (diff) | |
download | qutebrowser-64d6c2e65ed4a7839c2b6414a810937dbfb79841.tar.gz qutebrowser-64d6c2e65ed4a7839c2b6414a810937dbfb79841.zip |
QUrl issue?
Diffstat (limited to 'qutebrowser')
-rw-r--r-- | qutebrowser/browser/browsertab.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/browser/browsertab.py b/qutebrowser/browser/browsertab.py index e3583d2c8..1e63250ef 100644 --- a/qutebrowser/browser/browsertab.py +++ b/qutebrowser/browser/browsertab.py @@ -1232,7 +1232,7 @@ class AbstractTab(QWidget): try: qurl = self.url() url = qurl.toDisplayString( - QUrl.ComponentFormattingOption.EncodeUnicode) # type: ignore[arg-type] + QUrl.FormattingOptions(QUrl.ComponentFormattingOption.EncodeUnicode)) # type: ignore[arg-type] except (AttributeError, RuntimeError) as exc: url = '<{}>'.format(exc.__class__.__name__) else: |