Honour the NoDisplay attribute of KServices

Authored by fvogt on Jul 10 2017, 4:49 PM.



kcmshell5 refuses to load modules that have this set and
when clicking on them in systemsettings, an empty page with
no button to go back to the overview is shown. So just don't
show them to the user.

Test Plan

Started systemsettings5 in a X11 session, "Accessibility" is shown.
Did the same in a wayland session, it is not shown anymore.

Diff Detail

R124 System Settings
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
fvogt created this revision.Jul 10 2017, 4:49 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 10 2017, 4:49 PM
davidedmundson accepted this revision.Jul 10 2017, 11:39 PM
This revision is now accepted and ready to land.Jul 10 2017, 11:39 PM
This revision was automatically updated to reflect the committed changes.