You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
From 61e2ea2323ae63c5805c87353701ba6fb722205a Mon Sep 17 00:00:00 2001
|
|
From: Fabio Bas <fabio.bas@officineinformatiche.net>
|
|
Date: Fri, 3 Sep 2021 19:23:12 +0200
|
|
Subject: [PATCH] Update solid connectedSources when a new source gets added by
|
|
hotplug BUG: 438874
|
|
|
|
---
|
|
applets/devicenotifier/package/contents/ui/devicenotifier.qml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/applets/devicenotifier/package/contents/ui/devicenotifier.qml b/applets/devicenotifier/package/contents/ui/devicenotifier.qml
|
|
index a1dc20b83..404ae95e6 100644
|
|
--- a/applets/devicenotifier/package/contents/ui/devicenotifier.qml
|
|
+++ b/applets/devicenotifier/package/contents/ui/devicenotifier.qml
|
|
@@ -75,6 +75,7 @@ Item {
|
|
onSourceAdded: {
|
|
disconnectSource(source);
|
|
connectSource(source);
|
|
+ sdSource.connectedSources = sources
|
|
}
|
|
onSourceRemoved: {
|
|
disconnectSource(source);
|
|
@@ -98,7 +99,6 @@ Item {
|
|
PlasmaCore.DataSource {
|
|
id: sdSource
|
|
engine: "soliddevice"
|
|
- connectedSources: hpSource.sources
|
|
interval: 0
|
|
property string last
|
|
onSourceAdded: {
|
|
--
|
|
GitLab
|
|
|