Convert all state checks to KWindowInfo::hasState().
ClosedPublic

Authored by hein on Jul 15 2016, 10:11 AM.

Details

Summary

We've had bad experiences with state() in a plasma-framework testcase
and this is more readable regardless.

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.
hein updated this revision to Diff 5201.Jul 15 2016, 10:11 AM
hein retitled this revision from to Convert all state checks to KWindowInfo::hasState()..
hein updated this object.
hein edited the test plan for this revision. (Show Details)
hein added reviewers: Plasma, graesslin.
hein added a subscriber: plasma-devel.
Restricted Application added a project: Plasma. · View Herald TranscriptJul 15 2016, 10:11 AM
graesslin accepted this revision.Jul 15 2016, 11:02 AM
graesslin edited edge metadata.
This revision is now accepted and ready to land.Jul 15 2016, 11:02 AM
This revision was automatically updated to reflect the committed changes.