plugins/nightcolor: Add a todo note reminding to remove legacy shortcut
This commit is contained in:
parent
2d5c98069c
commit
f1f58a186d
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ NightColorManager::NightColorManager()
|
||||||
readConfig();
|
readConfig();
|
||||||
|
|
||||||
// legacy shortcut with localized key (to avoid breaking existing config)
|
// legacy shortcut with localized key (to avoid breaking existing config)
|
||||||
|
// TODO Plasma 6: Remove it.
|
||||||
if (i18n("Toggle Night Color") != QStringLiteral("Toggle Night Color")) {
|
if (i18n("Toggle Night Color") != QStringLiteral("Toggle Night Color")) {
|
||||||
QAction toggleActionLegacy;
|
QAction toggleActionLegacy;
|
||||||
toggleActionLegacy.setProperty("componentName", QStringLiteral("kwin"));
|
toggleActionLegacy.setProperty("componentName", QStringLiteral("kwin"));
|
||||||
|
|
Loading…
Reference in a new issue