Group some blocking dbus calls
ClosedPublic

Authored by apol on Dec 1 2017, 6:48 PM.

Details

Summary

Calling KGlobalAccel::setDefaultShortcut would do few blocking calls one after
the other. This reuses some of the values as we are essentially doing the same
call twice with a small difference between them

Test Plan

Test still passes, my system still seems to work

Diff Detail

Repository
R268 KGlobalAccel
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Dec 1 2017, 6:48 PM
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptDec 1 2017, 6:48 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Dec 1 2017, 6:48 PM
davidedmundson accepted this revision.Dec 1 2017, 6:54 PM
This revision is now accepted and ready to land.Dec 1 2017, 6:54 PM
graesslin accepted this revision.Dec 1 2017, 7:13 PM
This revision was automatically updated to reflect the committed changes.