aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/kdeconnect/KdeConnectRow.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-14 19:20:01 +0200
committerDanilo M. <danix@danix.xyz>2026-09-14 19:20:01 +0200
commit46bcb60bd7dff4b2532b47146ab3e75d2c000912 (patch)
treeeee88f39313b918420796da0e46940bfd214ed30 /desktop/modules/kdeconnect/KdeConnectRow.qml
parent6bf3730a54ccb4cdcf9d6050f51d2b11ab1754e4 (diff)
downloadquickshell-46bcb60bd7dff4b2532b47146ab3e75d2c000912.tar.gz
quickshell-46bcb60bd7dff4b2532b47146ab3e75d2c000912.zip
feat(desktop): share a file to a KDE Connect device
A QtQuick.Dialogs FileDialog held on the module, not the page, so a closed drawer does not destroy it mid-pick. The path is decoded from the file:// URL before it reaches kdeconnect-cli.
Diffstat (limited to 'desktop/modules/kdeconnect/KdeConnectRow.qml')
-rw-r--r--desktop/modules/kdeconnect/KdeConnectRow.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/modules/kdeconnect/KdeConnectRow.qml b/desktop/modules/kdeconnect/KdeConnectRow.qml
index 0c58fc0..245afcc 100644
--- a/desktop/modules/kdeconnect/KdeConnectRow.qml
+++ b/desktop/modules/kdeconnect/KdeConnectRow.qml
@@ -88,6 +88,12 @@ Rectangle {
Button {
visible: row.device.reachable
+ text: "Share"
+ onClicked: row.mod.share(row.device.id)
+ }
+
+ Button {
+ visible: row.device.reachable
text: "Mount"
onClicked: row.mod.mount(row.device.id)
}