diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-05-30 13:44:30 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-06-22 17:41:12 +0200 |
commit | 08e1b987bfad53d51fac6a3e3808056c55720ed6 (patch) | |
tree | 95fb8994757d76dd489ed3b8797096555990d5d0 | |
parent | b7a8df3930de6b139842c0b34c62eee2bc6ad2d1 (diff) | |
download | qutebrowser-08e1b987bfad53d51fac6a3e3808056c55720ed6.tar.gz qutebrowser-08e1b987bfad53d51fac6a3e3808056c55720ed6.zip |
Remove setting Pulseaudio properties
The icon change doesn't seem to have any effect anymore (those environment
variables might be isolated from Chromium rendering processes since some Qt
update). The name change isn't needed anymore with QtWebEngine 5.15.2
which is now the oldest supported version.
See #3832
-rw-r--r-- | qutebrowser/app.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/qutebrowser/app.py b/qutebrowser/app.py index a241db988..778ff49c0 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -149,7 +149,6 @@ def init(*, args: argparse.Namespace) -> None: quitter.instance.shutting_down.connect(QApplication.closeAllWindows) _init_icon() - _init_pulseaudio() loader.init() loader.load_components() @@ -195,23 +194,6 @@ def _init_icon(): objects.qapp.setWindowIcon(icon) -def _init_pulseaudio(): - """Set properties for PulseAudio. - - WORKAROUND for https://bugreports.qt.io/browse/QTBUG-85363 - - Affected Qt versions: - - Older than 5.11 (which is unsupported) - - 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. - """ - # FIXME:qt6 check if this is still needed - for prop in ['application.name', 'application.icon_name']: - os.environ['PULSE_PROP_OVERRIDE_' + prop] = 'qutebrowser' - - def _process_args(args): """Open startpage etc. and process commandline args.""" if not args.override_restore: |