Get rid of brightness percentage

Review Request #122602 - Created Feb. 17, 2015 and submitted

Information
Kai Uwe Broulik
powerdevil
master
122603
Reviewers
plasma, solid
nikitas

This renames all the fooValue things to just foo, everywhere.
Set brightness no longer returns bool since we don't really check success anymore anyway.
Also adds a bit of C++11 sugar.

Seems to work as before but needs more extensive testing

Issues

  • 0
  • 0
  • 1
  • 1
Description From Last Updated
Lukáš Tinkl
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)

Nikita Skovoroda

   
daemon/powerdevilbrightnesslogic.cpp (Diff revision 1)
 
 

Seems to be unused now (only the one that has no arguments). Could be safely removed.

  1. It is actually used from the inside of that class, but is unnecessary, the inner call to percentage() could be replaced with percentage(m_value).

Loading...