mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
Add check for macOS before setting fusion theme
This commit is contained in:
parent
dcd924e34b
commit
54172670d3
1 changed files with 2 additions and 1 deletions
|
@ -282,6 +282,7 @@ class ThemeManager:
|
|||
app.setPalette(self.default_palette)
|
||||
return
|
||||
|
||||
if not is_mac:
|
||||
app.setStyle(QStyleFactory.create("fusion")) # type: ignore
|
||||
|
||||
palette = QPalette()
|
||||
|
|
Loading…
Reference in a new issue