Changeset View
Changeset View
Standalone View
Standalone View
files/Use-system-theme.patch
| From 616cceb8b2502aeb6d9e79e725b8261dd4e95967 Mon Sep 17 00:00:00 2001 | From 0721ec78603080a3aa5a45642d70af9329f7f05f Mon Sep 17 00:00:00 2001 | ||||
| From: Fabio Forni <livingsilver94.solus@redaril.me> | From: Fabio Forni <livingsilver94.solus@redaril.me> | ||||
| Date: Tue, 11 Aug 2020 18:36:36 +0200 | Date: Sat, 24 Oct 2020 13:39:54 +0200 | ||||
| Subject: [PATCH] Use system theme | Subject: [PATCH] Use system theme | ||||
| --- | --- | ||||
| picard/ui/theme.py | 5 ----- | picard/ui/options/interface.py | 2 +- | ||||
| 1 file changed, 5 deletions(-) | 1 file changed, 1 insertion(+), 1 deletion(-) | ||||
| diff --git a/picard/ui/theme.py b/picard/ui/theme.py | diff --git a/picard/ui/options/interface.py b/picard/ui/options/interface.py | ||||
| index 00d2efb..0890e9f 100644 | index d9401d0..8b2437c 100644 | ||||
| --- a/picard/ui/theme.py | --- a/picard/ui/options/interface.py | ||||
| +++ b/picard/ui/theme.py | +++ b/picard/ui/options/interface.py | ||||
| @@ -53,11 +53,6 @@ dark_syntax_theme = SyntaxTheme( | @@ -135,7 +135,7 @@ class InterfaceOptionsPage(OptionsPage): | ||||
| config.BoolOption("setting", "use_adv_search_syntax", False), | |||||
| class BaseTheme: | config.BoolOption("setting", "quit_confirmation", True), | ||||
| def setup(self, app): | config.TextOption("setting", "ui_language", ""), | ||||
| - # Use the new fusion style from PyQt5 for a modern and consistent look | - config.BoolOption("setting", "use_system_theme", False), | ||||
| - # across all OSes. | + config.BoolOption("setting", "use_system_theme", True), | ||||
| - if not IS_MACOS and not IS_HAIKU: | config.BoolOption("setting", "starting_directory", False), | ||||
| - app.setStyle('Fusion') | config.TextOption("setting", "starting_directory_path", _default_starting_dir), | ||||
| - | config.TextOption("setting", "load_image_behavior", "append"), | ||||
| app.setStyleSheet( | |||||
| 'QGroupBox::title { /* PICARD-1206, Qt bug workaround */ }' | |||||
| ) | |||||
| -- | -- | ||||
| 2.27.0 | 2.29.0 | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.