Compare commits
2 commits
4d22e68a9b
...
ca7e1bb2d1
| Author | SHA1 | Date | |
|---|---|---|---|
| ca7e1bb2d1 | |||
| 94891dea5d |
2 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ Kirigami.ApplicationWindow {
|
||||||
|
|
||||||
Controls.Switch {
|
Controls.Switch {
|
||||||
checked: mod.enabled
|
checked: mod.enabled
|
||||||
Layout.alignment: Qt.AlignCenter
|
text: "Enabled"
|
||||||
|
|
||||||
onClicked: mod.enabled = checked
|
onClicked: mod.enabled = checked
|
||||||
}
|
}
|
||||||
|
|
@ -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}/qml/Main.qml")
|
url = QUrl(f"file://{base_path}/Main.qml")
|
||||||
engine.load(url)
|
engine.load(url)
|
||||||
|
|
||||||
if len(engine.rootObjects()) == 0:
|
if len(engine.rootObjects()) == 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue