Remove the global APP singleton again

This commit is contained in:
Veronica Berglyd Olsen
2023-08-07 20:45:25 +02:00
parent 7756368113
commit 470017cdea
3 changed files with 2 additions and 70 deletions
+1 -3
View File
@@ -37,7 +37,7 @@ from PyQt5.QtWidgets import (
QStackedWidget, QVBoxLayout, QWidget
)
from novelwriter import CONFIG, APP, __hexversion__
from novelwriter import CONFIG, __hexversion__
from novelwriter.gui.theme import GuiTheme
from novelwriter.gui.sidebar import GuiSideBar
from novelwriter.gui.outline import GuiOutlineView
@@ -115,8 +115,6 @@ class GuiMain(QMainWindow):
# Core Classes
self.mainTheme = GuiTheme()
self.theProject = NWProject(self)
APP.setTheme(self.mainTheme)
APP.setProject(self.theProject)
# Core Settings
self.hasProject = False