Commit ae35b623 authored by David Redondo's avatar David Redondo 🏎
Browse files

Set componentDisplayName on the action collection

Otherwise it falls back to the name of the process and when the shortcut is
changed from the kcm inside systemsettings, the component would be displayed as
"System Settings" in the future. See also 9056449edc892e88788f189c0306c821c4b87e4d
parent 115a5c23
......@@ -52,6 +52,7 @@ KScreenSaverSettings::KScreenSaverSettings(QObject *parent)
}
m_actionCollection->setConfigGlobal(true);
m_actionCollection->setComponentDisplayName(i18n("Session Managment"));
m_lockAction = m_actionCollection->addAction(QStringLiteral("Lock Session"));
m_lockAction->setProperty("isConfigurationAction", true);
m_lockAction->setText(i18n("Lock Session"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment