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?
This commit is contained in:
parent
699e060d37
commit
036a66f996
1 changed files with 2 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue