Commit 33547e2f authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak Committed by David Edmundson

Fix brightness shortcuts in the whitelist

Summary: Since D9053, screen and keyboard brightness shortcuts are sent from powerdevil's component instead of kded's, so the brightness adjusting from locked screen has been broken.

Test Plan: Brightness adjusting should work when the screen is locked.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: graesslin, plasma-devel

Tags: #plasma

Differential Revision:
parent e861e10d
......@@ -50,7 +50,7 @@ static const QMap<QString, QRegularExpression> s_shortcutWhitelist{
{QStringLiteral("/component/kmix"), QRegularExpression(
{QStringLiteral("/component/kded5"), QRegularExpression(
{QStringLiteral("/component/org_kde_powerdevil"), QRegularExpression(
QStringLiteral("Increase Screen Brightness|Decrease Screen Brightness|Increase Keyboard Brightness|Decrease Keyboard Brightness")
{QStringLiteral("/component/KDE_Keyboard_Layout_Switcher"), QRegularExpression(
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