From e999d2595152185b439e1ff1e6ad2cd0c0e30b95 Mon Sep 17 00:00:00 2001 From: wendtalexander Date: Mon, 14 Oct 2024 08:41:12 +0200 Subject: [PATCH] [app] adding config --- pyrelacs/app.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyrelacs/app.py b/pyrelacs/app.py index 587e2ef..1d42353 100644 --- a/pyrelacs/app.py +++ b/pyrelacs/app.py @@ -4,6 +4,7 @@ from PyQt6.QtCore import QSettings from PyQt6.QtWidgets import QApplication from pyrelacs import info +from pyrelacs.config.config_loader import Config from pyrelacs.ui.mainwindow import PyRelacs from pyrelacs import ( @@ -25,7 +26,11 @@ def main(): x = int(settings.value("app/pos_x", 100)) y = int(settings.value("app/pos_y", 100)) - # load config + # load the config + + config = Config() + + # start the app window = PyRelacs() window.setMinimumWidth(200) window.setMinimumHeight(200)