Fix type annotation

This commit is contained in:
Veronica Berglyd Olsen
2024-09-18 22:12:39 +02:00
parent 70b05c9e07
commit 52b3084bee
+1 -1
View File
@@ -133,7 +133,7 @@ FONT_WEIGHTS: dict[int, int] = {
QFont.Weight.Black: 900,
}
FONT_STYLE: dict[int, str] = {
FONT_STYLE: dict[QFont.Style, str] = {
QFont.Style.StyleNormal: "normal",
QFont.Style.StyleItalic: "italic",
QFont.Style.StyleOblique: "oblique",