Compare commits

..

2 commits

Author SHA1 Message Date
ca7e1bb2d1 Mod: parse meta.json if it exists 2025-05-29 18:02:18 +02:00
94891dea5d Mod: remove unneded else statement 2025-05-29 18:02:18 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ Kirigami.ApplicationWindow {
Controls.Switch {
checked: mod.enabled
Layout.alignment: Qt.AlignCenter
text: "Enabled"
onClicked: mod.enabled = checked
}

View file

@ -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: