Backport r1217574 by lvsouza from trunk to the 4.6 branch:
author Lamarque Vieira Souza
()
committer Lamarque Vieira Souza
()
commit 57a927ff69f5b1673e441c87ac59550f23ac3594
tree fa45d511a94c2650e459358bc1667dc7c99e2ace
parent 2f26c2ac305cb5b739899a48288f521308f2129d
Backport r1217574 by lvsouza from trunk to the 4.6 branch:

Rounds value instead of truncating it. This fix a problem with increasing
brightness key not working sometimes.
CCBUG: 264534

svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1217581
powerdevil/daemon/backends/upower/xrandrbrightness.cpp