Review Request 123999: Don't crash in XRandrBrightness if not on xcb

Martin Gräßlin mgraesslin at kde.org
Wed Jun 3 23:08:17 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123999/
-----------------------------------------------------------

Review request for Plasma, Solid and Kai Uwe Broulik.


Repository: powerdevil


Description
-------

On e.g. platform wayland XRandrBrightness shouldn't do anything. By
skipping the initialization the isSupported returns false.


Diffs
-----

  daemon/backends/upower/xrandrbrightness.cpp f1cd5a5a0958e72aea87bfda88642faaa696f850 

Diff: https://git.reviewboard.kde.org/r/123999/diff/


Testing
-------

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


Thanks,

Martin Gräßlin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150603/9ae03662/attachment.html>


More information about the Plasma-devel mailing list