From 2dd562b731d73bfad14a33b1a6746e565b34e89f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 11 Sep 2019 16:31:00 +0530 Subject: [PATCH] DRYer --- bypy/init_env.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bypy/init_env.py b/bypy/init_env.py index 310b8a6f54..8a558a389d 100644 --- a/bypy/init_env.py +++ b/bypy/init_env.py @@ -69,18 +69,16 @@ QT_PLUGINS = [ # 'audio', 'printsupport', 'bearer', 'position', ] -if not ismacos and not iswindows: - QT_PLUGINS.append('platforminputcontexts') -else: - QT_PLUGINS.append('styles') - if islinux: QT_PLUGINS += [ + 'platforminputcontexts', 'wayland-decoration-client', 'wayland-graphics-integration-client', 'wayland-shell-integration', 'xcbglintegrations', ] +else: + QT_PLUGINS.append('styles') PYQT_MODULES = ( 'Qt',