Review Request: set brightness to zero in profile doesn't work

Xuetian Weng wengxt at gmail.com
Sun Jan 6 17:50:42 GMT 2013


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

Review request for kde-workspace and Kai Uwe Broulik.


Description
-------

fix is trivial, since -1 is the invalid value in this part of code, not zero.

Uncheck the brightness will set m_defaultValue to -1 so no function is lost.


This addresses bug 306925.
    http://bugs.kde.org/show_bug.cgi?id=306925


Diffs
-----

  powerdevil/daemon/actions/bundled/brightnesscontrol.cpp 5088e4e 
  powerdevil/daemon/brightnessosdwidget.h ef08903 
  powerdevil/daemon/brightnessosdwidget.cpp e4cf80a 

Diff: http://git.reviewboard.kde.org/r/108230/diff/


Testing
-------

now zero in profile works.


Thanks,

Xuetian Weng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130106/d8520b0d/attachment.htm>


More information about the kde-core-devel mailing list