Fix the brightness key being ignored during the animation

Review Request #125182 - Created Sept. 12, 2015 and submitted

Information
Xuetian Weng
powerdevil
master
Reviewers
solid
broulik

There is a check that update the m_cachedBrightness, which is not valid during the animation. Ignore if the brightness animation is running and calculate the new brightness level.

P.S. Why is this check there anyway? Is it useful or it's designed to workaround some hardware issue?

Brightness can increase/decrease for every brightness key press.

Igor Poboiko
David Rosca
Igor Poboiko
Kai Uwe Broulik
Xuetian Weng
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 56e8b755c63a85568472f563fc65642e1de9f6da by Weng Xuetian to branch Plasma/5.4.
Loading...