aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/kdeconnect/KdeConnectRow.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-14 19:42:14 +0200
committerDanilo M. <danix@danix.xyz>2026-09-14 19:42:14 +0200
commit1c2da6975fead84cf3e8e23356d9e364c08ee467 (patch)
tree99d955c3ec54cc222ea33c5519ae77f6752f7d7f /desktop/modules/kdeconnect/KdeConnectRow.qml
parent7304e3dd96f0bae4d63ccf3d4fa4f176b760a81f (diff)
downloadquickshell-1c2da6975fead84cf3e8e23356d9e364c08ee467.tar.gz
quickshell-1c2da6975fead84cf3e8e23356d9e364c08ee467.zip
fix(desktop): queue KDE Connect actions instead of interrupting
A second action while one was in flight killed the first process, whose onExited then fired under the new label and raised a false failure notification. Actions are now queued and launched on exit, so each exit reports under its own label. Also correct two comments that contradicted the code: the pairing banner is only noticed on the on-open poll, and the laptop glyph keys off the daemon's desktop type.
Diffstat (limited to 'desktop/modules/kdeconnect/KdeConnectRow.qml')
-rw-r--r--desktop/modules/kdeconnect/KdeConnectRow.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/modules/kdeconnect/KdeConnectRow.qml b/desktop/modules/kdeconnect/KdeConnectRow.qml
index 0b45fb7..e4d4d93 100644
--- a/desktop/modules/kdeconnect/KdeConnectRow.qml
+++ b/desktop/modules/kdeconnect/KdeConnectRow.qml
@@ -12,9 +12,9 @@
import QtQuick
import "../.."
-// One KDE Connect device. The type glyph is the phone for anything that is
-// not a laptop or desktop, since the daemon's type strings are not a closed
-// set.
+// One KDE Connect device. The type glyph is a laptop only for a device the
+// daemon reports as "desktop" (which is how it reports laptops too), and a
+// phone for anything else, since the type strings are not a closed set.
Rectangle {
id: row