ktouchpadenabler: use standard notification event IDs

it should probably use custom config and event IDs tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-25 08:47:09 +03:00
parent f47177f876
commit 47b083fbf2

View file

@ -128,7 +128,7 @@ TouchpadEnablerDaemonPrivate::TouchpadEnablerDaemonPrivate()
}
} else {
KNotification::event(
"ktouchpadenabler",
"kde/warning",
i18n("Touchpad status"),
i18n("More than one touchpad detected. Touchpad Enabler Daemon does not handle this configuration")
);
@ -173,7 +173,7 @@ bool TouchpadEnablerDaemonPrivate::x11Event(XEvent *event)
setEnabled(newValue);
KNotification::event(
"ktouchpadenabler",
"kde/notification",
i18n("Touchpad status"),
newValue ? i18n("Touchpad enabled") : i18n("Touchpad disabled")
);