update kcm statistics in kcmshell too
ClosedPublic

Authored by mart on Jun 6 2017, 10:39 AM.

Details

Summary

also when opening modules with kcmshell (used a lot with krunner)
the statistics need to be updated to keep the list on systemsettings startup
up to date and have complete usage data of kcm modules

Test Plan

opened systemsettings and a module with kcmsell, the list gets updated
on the fly

Diff Detail

Repository
R126 KDE CLI Utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mart created this revision.Jun 6 2017, 10:39 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 6 2017, 10:39 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson added inline comments.
kcmshell/main.cpp
298

?

mart updated this revision to Diff 15207.Jun 6 2017, 10:59 AM

remove dead code

mart marked an inline comment as done.Jun 6 2017, 10:59 AM
mart added inline comments.
kcmshell/main.cpp
298

eww, sorry :)

davidedmundson accepted this revision.Jun 6 2017, 11:12 AM
This revision is now accepted and ready to land.Jun 6 2017, 11:12 AM
This revision was automatically updated to reflect the committed changes.
mart marked an inline comment as done.