Don't set unwanted DPMS timeouts on inhibition change

Review Request #106793 - Created Oct. 11, 2012 and submitted

Information
Oliver Henshaw
kde-workspace
4.8, 4.9, master
Reviewers
solid
Don't set unwanted DPMS timeouts on inhibition change

Set m_idleTime to zero when action first initialised and when unloaded.
This makes onProfileLoad safe to use by onUnavailablePoliciesChanged
even when the action is not loaded.

CCBUG: 295164
Checking 'xset -q' after add/remove inhibition from battery applet in two cases: after login when screen power saving is not enabled; after changing screen power saving configuration from enabled to disabled.
Rex Dieter
Dario Freddi
Commit Hook
Commit Hook
Oliver Henshaw
Review request changed

Status: Closed (submitted)

Loading...