Don't crash in XRandrBrightness if not on xcb

Review Request #123999 - Created June 3, 2015 and submitted

Information
Martin Flöser
powerdevil
master
66afc60...
Reviewers
plasma, solid
broulik
On e.g. platform wayland XRandrBrightness shouldn't do anything. By
skipping the initialization the isSupported returns false.

kded5 no longer crashes when initializing powerdevil when running with platform wayland.

Sebastian Kügler
Lukáš Tinkl
Kai Uwe Broulik
Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit bb67165aa5d99e9eeea3c7f8b328b3b53a5e70a5 by Martin Gräßlin to branch master.
Loading...