diff --git a/src/leek/qml/Main.qml b/src/leek/Main.qml similarity index 97% rename from src/leek/qml/Main.qml rename to src/leek/Main.qml index 576034c..b592fe7 100644 --- a/src/leek/qml/Main.qml +++ b/src/leek/Main.qml @@ -77,7 +77,7 @@ Kirigami.ApplicationWindow { Controls.Switch { checked: mod.enabled - Layout.alignment: Qt.AlignCenter + text: "Enabled" onClicked: mod.enabled = checked } diff --git a/src/leek/leek_app.py b/src/leek/leek_app.py index 5a93db9..9b59cfe 100644 --- a/src/leek/leek_app.py +++ b/src/leek/leek_app.py @@ -24,7 +24,7 @@ def main(): os.environ["QT_QUICK_CONTROLS_STYLE"] = "org.kde.desktop" base_path = os.path.abspath(os.path.dirname(__file__)) - url = QUrl(f"file://{base_path}/qml/Main.qml") + url = QUrl(f"file://{base_path}/Main.qml") engine.load(url) if len(engine.rootObjects()) == 0: