[Kde-hardware-devel] Review Request 122316: Fix powerdevil brightness calls breaking kded #2

Kai Uwe Broulik kde at privat.broulik.de
Thu Jan 29 20:05:42 UTC 2015


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

(Updated Jan. 29, 2015, 8:05 nachm.)


Review request for Solid and David Edmundson.


Changes
-------

Fix typo


Bugs: 337674
    https://bugs.kde.org/show_bug.cgi?id=337674


Repository: powerdevil


Description
-------

- Query maximum value once and then just return the stored value, it's not like PowerDevil could really cope with it changing anyway
- Query brightness value once and then just update it when udevqt tells us to
- Don't care for the result when setting the brightness, just call it async

*adds refactoring this to be as async as possible to the 5.3 todo*


Diffs (updated)
-----

  daemon/backends/upower/powerdevilupowerbackend.h 220289c 
  daemon/backends/upower/powerdevilupowerbackend.cpp 51a052a 

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


Testing
-------

I'm running on the helper now but I was never able to reproduce the problem.


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20150129/d39ad3cb/attachment.html>


More information about the Kde-hardware-devel mailing list