From 7304e3dd96f0bae4d63ccf3d4fa4f176b760a81f Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 19:31:00 +0200 Subject: 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. --- desktop/modules/kdeconnect/KdeConnectModule.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/modules/kdeconnect/KdeConnectModule.qml') 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 } } } } -- cgit v1.2.3