plugins/nightcolor: Add a todo note reminding to remove legacy shortcut

This commit is contained in:
Vlad Zahorodnii 2022-11-13 14:24:54 +02:00
parent 2d5c98069c
commit f1f58a186d

View file

@ -81,6 +81,7 @@ NightColorManager::NightColorManager()
readConfig();
// legacy shortcut with localized key (to avoid breaking existing config)
// TODO Plasma 6: Remove it.
if (i18n("Toggle Night Color") != QStringLiteral("Toggle Night Color")) {
QAction toggleActionLegacy;
toggleActionLegacy.setProperty("componentName", QStringLiteral("kwin"));