Commit 0069abf1 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

iSend the correct suspend type mode for suspendSession action.

BUG: 268149
FIXED-IN: 4.6.2
parent 8ee14619
......@@ -116,7 +116,9 @@ void HandleButtonEvents::triggerImpl(const QVariantMap& args)
{
// For now, let's just accept the phantomatic "32" button.
if (args["Button"].toInt() == 32) {
triggerAction("SuspendSession", args["Button"]);
if (args.contains("Type")) {
triggerAction("SuspendSession", args["Type"]);
}
}
}
......
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