nix-stuff/roles/kde/patches/plasma-workspace/pr5589.patch
Toast 98f9b3a8fc Add kde patches
The nixpkgs patch is to clear out a conflict with a patch that's applied
to plasma-workspace by nixpkgs
2025-07-05 14:52:58 +02:00

37 lines
1.4 KiB
Diff

From 2278398309c68ce401a8e35b193fca3782391a4a Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
Date: Thu, 12 Jun 2025 09:15:15 -0600
Subject: [PATCH] applets/devicenotifier: use standard section header
No need for a custom header here when we have a standard one.
CCBUG: 442724
---
.../package/contents/ui/FullRepresentation.qml | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/applets/devicenotifier/package/contents/ui/FullRepresentation.qml b/applets/devicenotifier/package/contents/ui/FullRepresentation.qml
index 967223e0a1a..a0c28df45fe 100644
--- a/applets/devicenotifier/package/contents/ui/FullRepresentation.qml
+++ b/applets/devicenotifier/package/contents/ui/FullRepresentation.qml
@@ -132,15 +132,9 @@ PlasmaExtras.Representation {
section {
property: "deviceType"
- delegate: Item {
- height: Math.floor(childrenRect.height)
+ delegate: PlasmaExtras.ListSectionHeader {
width: notifierDialog.width - (scrollView.PlasmaComponents3.ScrollBar.vertical.visible ? Kirigami.Units.largeSpacing * 2 : 0)
- Kirigami.Heading {
- level: 3
- opacity: 0.6
- text: section
- textFormat: Text.PlainText
- }
+ text: section
}
}
--
GitLab