aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/kdeconnect/KdeConnectModule.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-14 19:31:00 +0200
committerDanilo M. <danix@danix.xyz>2026-09-14 19:31:00 +0200
commit7304e3dd96f0bae4d63ccf3d4fa4f176b760a81f (patch)
treee4094588b4122f7443a0c1a8f3724619fee994a9 /desktop/modules/kdeconnect/KdeConnectModule.qml
parent32f88e68dfa9489ef09408b3dd34180b76357750 (diff)
downloadquickshell-7304e3dd96f0bae4d63ccf3d4fa4f176b760a81f.tar.gz
quickshell-7304e3dd96f0bae4d63ccf3d4fa4f176b760a81f.zip
fix(desktop): name the kdeconnect injected property kc, not mod
The tile, page and row each took a required property named mod while the module object's id is also mod. In a Component scope the id resolves to the property's own unset self, so every page.mod read was undefined and the device list never rendered. Only a runtime TypeError showed it; the smoke check was clean because the drawer was closed. kc matches the net and bt convention and cannot collide with the id.
Diffstat (limited to 'desktop/modules/kdeconnect/KdeConnectModule.qml')
-rw-r--r--desktop/modules/kdeconnect/KdeConnectModule.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/modules/kdeconnect/KdeConnectModule.qml b/desktop/modules/kdeconnect/KdeConnectModule.qml
index 941808d..b7392b0 100644
--- a/desktop/modules/kdeconnect/KdeConnectModule.qml
+++ b/desktop/modules/kdeconnect/KdeConnectModule.qml
@@ -176,12 +176,12 @@ Module {
["kdeconnect-cli", "--share", mod.pathOf(selectedFile), "-d", mod.shareTarget])
}
- tileContent: Component { KdeConnectTile { mod: mod } }
+ tileContent: Component { KdeConnectTile { kc: mod } }
page: Component {
Page {
title: "KDE Connect"
- KdeConnectPage { width: parent.width; mod: mod }
+ KdeConnectPage { width: parent.width; kc: mod }
}
}
}