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" os.environ["QT_QUICK_CONTROLS_STYLE"] = "org.kde.desktop"
base_path = os.path.abspath(os.path.dirname(__file__)) 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) engine.load(url)
if len(engine.rootObjects()) == 0: if len(engine.rootObjects()) == 0:

View file

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