Compare commits

..

4 commits

2 changed files with 2 additions and 2 deletions

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}/Main.qml")
url = QUrl(f"file://{base_path}/qml/Main.qml")
engine.load(url)
if len(engine.rootObjects()) == 0:

View file

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