diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-07-10 12:11:31 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-07-10 12:13:01 +0200 |
commit | b77891fce795c741f389d6e4080c1f68ab9b615c (patch) | |
tree | 6ece9dbfc874fe2bc03bc6bc86ff6da8e5083828 | |
parent | 899f3af1b34975f6e8d87f6ce796fa9baf24a3b9 (diff) | |
download | qutebrowser-b77891fce795c741f389d6e4080c1f68ab9b615c.tar.gz qutebrowser-b77891fce795c741f389d6e4080c1f68ab9b615c.zip |
Improve docstring for _init_pulseaudio()
-rw-r--r-- | qutebrowser/app.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/qutebrowser/app.py b/qutebrowser/app.py index a2302dc0b..0c293b644 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -191,7 +191,17 @@ def _init_icon(): def _init_pulseaudio(): - """Set properties for PulseAudio.""" + """Set properties for PulseAudio. + + WORKAROUND for https://bugreports.qt.io/browse/QTBUG-85363 + + Affected Qt versions: + - Older than 5.11 + - 5.14.0 to 5.15.0 (inclusive) + + However, we set this on all versions so that qutebrowser's icon gets picked + up as well. + """ for prop in ['application.name', 'application.icon_name']: os.environ['PULSE_PROP_OVERRIDE_' + prop] = 'qutebrowser' |