From 036a66f996a993bc52aad64d045247af141d80d5 Mon Sep 17 00:00:00 2001 From: Oliver Beard Date: Tue, 3 Jan 2023 09:00:32 +0000 Subject: [PATCH] plugins/nightcolor: Use Night Color icon for OSD This makes the OSD message for Night Colour inhibition use the same icon as the tray applet. I'm not sure where the original icon `preferences-desktop-display-nightcolor-off` is, but it would seem a good idea to remove it? --- src/plugins/nightcolor/nightcolormanager.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/nightcolor/nightcolormanager.cpp b/src/plugins/nightcolor/nightcolormanager.cpp index 36f5a7ebc3..f10f0a0848 100644 --- a/src/plugins/nightcolor/nightcolormanager.cpp +++ b/src/plugins/nightcolor/nightcolormanager.cpp @@ -55,10 +55,9 @@ NightColorManager::NightColorManager() // Display a message when Night Color is (un)inhibited. connect(this, &NightColorManager::inhibitedChanged, this, [this] { - // TODO: Maybe use different icons? const QString iconName = isInhibited() - ? QStringLiteral("preferences-desktop-display-nightcolor-off") - : QStringLiteral("preferences-desktop-display-nightcolor-on"); + ? QStringLiteral("redshift-status-off") + : QStringLiteral("redshift-status-on"); const QString text = isInhibited() ? i18nc("Night Color was disabled", "Night Color Off")