Use KWindowSystem::isPlatformX11

Authored by graesslin on Nov 17 2016, 3:43 PM.



This saves one string comparison as it's only checked once per
application life cycle.

Diff Detail

R166 Spectacle
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 8280.Nov 17 2016, 3:43 PM
graesslin retitled this revision from to Use KWindowSystem::isPlatformX11.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: bgupta.
bgupta accepted this revision.Nov 19 2016, 9:52 PM
bgupta edited edge metadata.

Sorry, didn't notice this earlier. Good to go.

This revision is now accepted and ready to land.Nov 19 2016, 9:52 PM
This revision was automatically updated to reflect the committed changes.