[plasma/plasma-desktop] kcms/runners/plasmasearch/ui: kcms/plasmasearch: Add non-default highlights

Nate Graham <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 665d8bbb872bf377b65abca86e224aa20269489e by Nate Graham, on behalf of Tobias Ozór.
Committed on 05/08/2026 at 16:34.
Pushed by ngraham into branch 'master'.

kcms/plasmasearch: Add non-default highlights

ENHANCEMENT: 521978
FIXED-IN: 6.8.0

M  +4    -0    kcms/runners/plasmasearch/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/665d8bbb872bf377b65abca86e224aa20269489e

diff --git a/kcms/runners/plasmasearch/ui/main.qml b/kcms/runners/plasmasearch/ui/main.qml
index afe2969644..fcdf96c940 100644
--- a/kcms/runners/plasmasearch/ui/main.qml
+++ b/kcms/runners/plasmasearch/ui/main.qml
@@ -96,6 +96,10 @@ KCMUtils.ScrollViewKCM {
                 ]
                 onConfigTriggered: kcm.showKCM(model.config, [], model.metaData)
                 highlighted: false
+
+                KCMUtils.SettingHighlighter {
+                    highlight: model.enabled !== enabledByDefault
+                }
             }
         }
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.