[Service] Use KConfig::SimpleConfig
ClosedPublic

Authored by broulik on Aug 24 2017, 12:56 PM.

Details

Summary

I don't get the comment on why it is /dev/null instead of QString() but using SimpleConfig at least saves 0.3ms per call for me.

Test Plan

Played with media controller (which uses service jobs to control the player), still works

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Aug 24 2017, 12:56 PM
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptAug 24 2017, 12:56 PM
Restricted Application added subscribers: Frameworks, plasma-devel. · View Herald Transcript
mart accepted this revision.Aug 25 2017, 8:58 AM
This revision is now accepted and ready to land.Aug 25 2017, 8:58 AM
This revision was automatically updated to reflect the committed changes.