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 16:21:55 +0200 |
commit | 63c2d1bebb4e8a9bef7658af6c01b94b611fde2b (patch) | |
tree | a7df587edafe68e911a16dba21001b544d3f09c2 | |
parent | 581bbfe9cca556a12a36cc206836e874d12210f0 (diff) | |
download | qutebrowser-63c2d1bebb4e8a9bef7658af6c01b94b611fde2b.tar.gz qutebrowser-63c2d1bebb4e8a9bef7658af6c01b94b611fde2b.zip |
Improve docstring for _init_pulseaudio()
(cherry picked from commit b77891fce795c741f389d6e4080c1f68ab9b615c)
-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 3d82ff9d4..059f2d268 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -190,7 +190,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' |