diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-10 20:04:41 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-10 20:08:10 +0100 |
commit | 6c67f927c8922f0bcf25b524dfb4a72455625f93 (patch) | |
tree | d843e1f0d3f5f13c9755dd3dd11569ec64d9b0a3 /qutebrowser/config/qtargs.py | |
parent | e5bc14535395b36c129608e77793aebf3fc0afb5 (diff) | |
download | qutebrowser-6c67f927c8922f0bcf25b524dfb4a72455625f93.tar.gz qutebrowser-6c67f927c8922f0bcf25b524dfb4a72455625f93.zip |
Make locale workaround configurable
See #6235
Diffstat (limited to 'qutebrowser/config/qtargs.py')
-rw-r--r-- | qutebrowser/config/qtargs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qutebrowser/config/qtargs.py b/qutebrowser/config/qtargs.py index c2c5ede7e..3e35e6908 100644 --- a/qutebrowser/config/qtargs.py +++ b/qutebrowser/config/qtargs.py @@ -174,6 +174,9 @@ def _get_lang_override( This is needed as a WORKAROUND for https://bugreports.qt.io/browse/QTBUG-91715 There is no fix yet, but we assume it'll be fixed with QtWebEngine 5.15.4. """ + if not config.val.qt.workarounds.locale: + return None + if webengine_version != utils.VersionNumber(5, 15, 3) or not utils.is_linux: return None |