This commit is contained in:
Christopher T. Johnson
2024-04-16 11:50:26 -04:00
parent f1ad24d70a
commit 51b1121176
6 changed files with 422 additions and 274 deletions

View File

@@ -22,6 +22,7 @@ def query_error(query: QSqlQuery) -> NoReturn:
)
raise Exception(translate("MainWindow", "SQL Error"))
class Resources:
_instance = None
nam = QNetworkAccessManager()
@@ -39,7 +40,7 @@ class Resources:
subduedColor: QColor
subduedBackground: QColor
def __new__(cls: type[Self]) -> Self:
if cls._instance:
return cls._instance