Commit 441894de authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

globalaccel: let PowerOff pass through our proxy

PowerOff button is bound to the toggling screen on-off action in the
mobile, if we don't let the poweroff action pass through, mobile users
won't be able to turn their screen off.
parent a51dcaf7
......@@ -51,7 +51,7 @@ static const QMap<QString, QRegularExpression> s_shortcutWhitelist{
QStringLiteral("mute|decrease_volume|increase_volume")
)},
{QStringLiteral("/component/org_kde_powerdevil"), QRegularExpression(
QStringLiteral("Increase Screen Brightness|Decrease Screen Brightness|Increase Keyboard Brightness|Decrease Keyboard Brightness|Turn Off Screen|Sleep|Hibernate")
QStringLiteral("Increase Screen Brightness|Decrease Screen Brightness|Increase Keyboard Brightness|Decrease Keyboard Brightness|Turn Off Screen|Sleep|Hibernate|PowerOff")
)},
{QStringLiteral("/component/KDE_Keyboard_Layout_Switcher"), QRegularExpression(
QStringLiteral("Switch to Next Keyboard Layout|Switch keyboard layout to .*")
......
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