diff --git a/src/plugins/nightcolor/nightcolormanager.cpp b/src/plugins/nightcolor/nightcolormanager.cpp index db99d270f1..dc88c58163 100644 --- a/src/plugins/nightcolor/nightcolormanager.cpp +++ b/src/plugins/nightcolor/nightcolormanager.cpp @@ -79,15 +79,6 @@ NightColorManager::NightColorManager() // we may always read in the current config 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")); - toggleActionLegacy.setObjectName(i18n("Toggle Night Color")); - KGlobalAccel::self()->removeAllShortcuts(&toggleActionLegacy); - } - QAction *toggleAction = new QAction(this); toggleAction->setProperty("componentName", QStringLiteral("kwin")); toggleAction->setObjectName(QStringLiteral("Toggle Night Color"));