Changeset View
Changeset View
Standalone View
Standalone View
files/Use-system-theme.patch
| From 11f2fa1fbefeb7ea750758dd191ccc5f62ac04b6 Mon Sep 17 00:00:00 2001 | From 616cceb8b2502aeb6d9e79e725b8261dd4e95967 Mon Sep 17 00:00:00 2001 | ||||
| From: Fabio Forni <livingsilver94.solus@redaril.me> | From: Fabio Forni <livingsilver94.solus@redaril.me> | ||||
| Date: Wed, 20 May 2020 22:30:27 +0200 | Date: Tue, 11 Aug 2020 18:36:36 +0200 | ||||
| Subject: [PATCH] Use system theme | Subject: [PATCH] Use system theme | ||||
| --- | --- | ||||
| picard/tagger.py | 5 ----- | picard/ui/theme.py | 5 ----- | ||||
| 1 file changed, 5 deletions(-) | 1 file changed, 5 deletions(-) | ||||
| diff --git a/picard/tagger.py b/picard/tagger.py | diff --git a/picard/ui/theme.py b/picard/ui/theme.py | ||||
| index 0d28264..b6b045e 100644 | index 00d2efb..0890e9f 100644 | ||||
| --- a/picard/tagger.py | --- a/picard/ui/theme.py | ||||
| +++ b/picard/tagger.py | +++ b/picard/ui/theme.py | ||||
| @@ -161,11 +161,6 @@ class Tagger(QtWidgets.QApplication): | @@ -53,11 +53,6 @@ dark_syntax_theme = SyntaxTheme( | ||||
| def __init__(self, picard_args, unparsed_args, localedir, autoupdate): | |||||
| class BaseTheme: | |||||
| def setup(self, app): | |||||
| - # Use the new fusion style from PyQt5 for a modern and consistent look | - # Use the new fusion style from PyQt5 for a modern and consistent look | ||||
| - # across all OSes. | - # across all OSes. | ||||
| - if not IS_MACOS and not IS_HAIKU: | - if not IS_MACOS and not IS_HAIKU: | ||||
| - self.setStyle('Fusion') | - app.setStyle('Fusion') | ||||
| - | - | ||||
| super().__init__(sys.argv) | app.setStyleSheet( | ||||
| self.__class__.__instance = self | 'QGroupBox::title { /* PICARD-1206, Qt bug workaround */ }' | ||||
| config._setup(self, picard_args.config_file) | ) | ||||
| -- | -- | ||||
| 2.26.2 | 2.27.0 | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.