[processui] Safety checks for platform != x11
ClosedPublic

Authored by graesslin on Jan 25 2016, 10:29 AM.

Details

Summary

Starting Ksysguard on Wayland resulted in a crash as it unconditionally
calls into X11. This change performs some sanity checks and hides the
X11 specific columns from the view.

Test Plan

Run on Wayland, started and worked

Diff Detail

Repository
R111 KSysguard Library
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 2090.Jan 25 2016, 10:29 AM
graesslin retitled this revision from to [processui] Safety checks for platform != x11.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: mart, sebas.
graesslin added a subscriber: plasma-devel.
bshah accepted this revision.Jan 25 2016, 10:33 AM
bshah added a reviewer: bshah.
This revision is now accepted and ready to land.Jan 25 2016, 10:33 AM
This revision was automatically updated to reflect the committed changes.