From 66969b9a45f74fa28be26c781c4b40666c57cdb1 Mon Sep 17 00:00:00 2001 From: Christian <1001494+smith1511@users.noreply.github.com> Date: Thu, 12 Dec 2019 06:10:23 +1100 Subject: [PATCH] Use dark stylesheet for Windows too (#567) --- cuegui/cuegui/DarkPalette.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cuegui/cuegui/DarkPalette.py b/cuegui/cuegui/DarkPalette.py index b021ea682..d62627865 100644 --- a/cuegui/cuegui/DarkPalette.py +++ b/cuegui/cuegui/DarkPalette.py @@ -37,6 +37,8 @@ def init(): QtGui.qApp.setPalette(DarkPalette()) if platform.system() in ['Darwin', 'Linux']: setDarkStyleSheet() + elif platform.system() == 'Windows': + QtGui.qApp.setStyle('Fusion') else: QtGui.qApp.setStyle(QtWidgets.QStyleFactory.create(cuegui.Constants.COLOR_THEME))