Quantcast
Channel: PowerDevil activity
Viewing all articles
Browse latest Browse all 1684

Xaver Hugl approved merge request !481: actions/dimdisplay: Unconditionally restore the dimming ratio at Plasma / PowerDevil

$
0
0

Commit b6b563f7 greatly simplified the DimDisplay action byproviding a dimming ratio property in ScreenBrightnessController.This allowed us to get rid of manual brightness setters here.

What the commit was missing is to take out the condition forprofileSettings.useProfileSpecificDisplayBrightness() entirely.There is no more clash with the ScreenBrightnessControl action,so we don't need to limit out setter calls.

Instead, always resetting the dimming ratio to 1.0 is the correctthing to do when switching to a profile without dimming.


Viewing all articles
Browse latest Browse all 1684

Trending Articles