Skip to content

Commit

Permalink
update qt darkstyle import to support pyside6
Browse files Browse the repository at this point in the history
  • Loading branch information
mchlnix committed Apr 11, 2024
1 parent 78cc4d0 commit 43ca743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions foundry/gui/settings.py
@@ -1,4 +1,3 @@
from functools import partial
from typing import Callable

import qdarkstyle
Expand All @@ -9,7 +8,7 @@

GUI_STYLE: dict[str, Callable] = {
"RETRO": lambda: "", # noqa
"DRACULA": partial(qdarkstyle.load_stylesheet, pyside=True),
"DRACULA": qdarkstyle.load_stylesheet_pyside6,
}

SETTINGS: dict[str, str | int | bool] = dict()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,3 +1,3 @@
PySide6==6.4.2
py65==1.1.0
QDarkStyle
QDarkStyle==3.2.3

0 comments on commit 43ca743

Please sign in to comment.