mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 05:54:15 +02:00
[improvement][ui] allowing 'Oxygen' as a default style
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user