Skip to content

Commit 158f202

Browse files
committed
remove global res import
1 parent 4cc2b4e commit 158f202

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import resources.resources
2-
from views.window import Window
31
from PySide6.QtWidgets import QApplication
42
from PySide6.QtGui import QFontDatabase
3+
from res.resources import qInitResources
4+
from views.window import Window
55

66
if __name__ == "__main__":
77
app = QApplication([])
88

9+
qInitResources()
910
QFontDatabase.addApplicationFont(":/fonts/opensans")
1011

1112
window = Window()

0 commit comments

Comments
 (0)