diff options
Diffstat (limited to 'kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch')
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch new file mode 100644 index 000000000000..e7cd0627a269 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-fix-hotplug-notifications.patch @@ -0,0 +1,33 @@ +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 + |