From cab309b0235b4632dbf0bab9bbeaa2eb5480654c Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Tue, 23 Jun 2020 18:36:49 -0300 Subject: [PATCH] [improvement][ui] allowing 'Oxygen' as a default style --- CHANGELOG.md | 1 + bauh/context.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c78f93e..ddb8403a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - sorting installed packages by their names - big refactoring regarding the components states (now it is easier to maintain the code) - some components compatibility with the system's color scheme + - allowing "Oxygen" as a default style ### Fixes - AppImage diff --git a/bauh/context.py b/bauh/context.py index 63586ae8..d5c5c19b 100644 --- a/bauh/context.py +++ b/bauh/context.py @@ -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