Skip to content

Commit

Permalink
Use dark stylesheet for Windows too (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
smith1511 authored and bcipriano committed Dec 11, 2019
1 parent ecf04c8 commit 66969b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cuegui/cuegui/DarkPalette.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 66969b9

Please sign in to comment.