[improvement][ui] allowing 'Oxygen' as a default style

This commit is contained in:
Vinicius Moreira
2020-06-23 18:36:49 -03:00
parent d2c401cb53
commit cab309b023
2 changed files with 2 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ def new_qt_application(app_config: dict, quit_on_last_closed: bool = False, name
if app_config['ui']['style']:
app.setStyle(str(app_config['ui']['style']))
else:
if app.style().objectName().lower() not in {'fusion', 'breeze'}:
if app.style().objectName().lower() not in {'fusion', 'breeze', 'oxygen'}:
app.setStyle('Fusion')
return app