Use new KWindowSystem platform check API
ClosedPublic

Authored by graesslin on Aug 3 2016, 6:04 AM.

Details

Summary

Reduces code duplication and we always opperate on cached value, that
is the platform is only checked once in application life cycle.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 5647.Aug 3 2016, 6:04 AM
graesslin retitled this revision from to Use new KWindowSystem platform check API.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: Plasma, hein.
Restricted Application added a project: Plasma. · View Herald TranscriptAug 3 2016, 6:04 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Aug 3 2016, 10:06 AM
hein edited edge metadata.

The port away from an explicit xcb check gave me a little pause, but I don't think it matters in practice.

This revision is now accepted and ready to land.Aug 3 2016, 10:06 AM
This revision was automatically updated to reflect the committed changes.