Commit e64a3cb2 authored by David Redondo's avatar David Redondo 🏎

Set component display name for touchboard and keyboard kcm action collections

Summary: Otherwise they get assigned a generic "KDE Daemon" name because of kded

Test Plan: restart kded, check in qdbusviewer or global shortcut kcm

Reviewers: ngraham, #plasma

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29052
parent 11005c89
......@@ -38,6 +38,7 @@ KeyboardLayoutActionCollection::KeyboardLayoutActionCollection(QObject* parent,
KActionCollection(parent, COMPONENT_NAME),
configAction(configAction_)
{
setComponentDisplayName(i18n("Keyboard Layout Switcher"));
QAction* toggleAction = addAction( actionName );
toggleAction->setText( i18n(actionName) );
KGlobalAccel::self()->setShortcut(toggleAction,
......
......@@ -30,6 +30,7 @@ TouchpadGlobalActions::TouchpadGlobalActions(bool isConfiguration, QObject *pare
{
//setComponentName(TouchpadPluginFactory::componentData());
setComponentName("kcm_touchpad");
setComponentDisplayName(i18n("Touchpad"));
QAction *enable = addAction("Enable Touchpad");
enable->setText(i18n("Enable Touchpad"));
......
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