Compare commits
4 commits
ca7e1bb2d1
...
4d22e68a9b
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d22e68a9b | |||
| 4d3112e9e8 | |||
| ad4f429cd9 | |||
| 20f459ddad |
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ Kirigami.ApplicationWindow {
|
|||
|
||||
Controls.Switch {
|
||||
checked: mod.enabled
|
||||
text: "Enabled"
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
|
||||
onClicked: mod.enabled = checked
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue