diff options
-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' |