[Kde-hardware-devel] Review Request 126146: [XRandRBrightness] Don't call for xrandr if it's not available
Kai Uwe Broulik
kde at privat.broulik.de
Mon Nov 23 16:00:04 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126146/
-----------------------------------------------------------
Review request for Solid and Thomas Lübking.
Bugs: 352462
https://bugs.kde.org/show_bug.cgi?id=352462
Repository: powerdevil
Description
-------
Check whether the extension is there before calling into it.
Also cache calls to QX11Info::connection() if we're at it.
Diffs
-----
daemon/backends/upower/xrandrbrightness.cpp 0abcefe
Diff: https://git.reviewboard.kde.org/r/126146/diff/
Testing
-------
Still works, didn't test without xrandr.
Thanks,
Kai Uwe Broulik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20151123/9ab381c7/attachment.html>
More information about the Kde-hardware-devel
mailing list