KSMServer: reload power-managerrc settings every time before they are needed

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Mavridis Philippe 2 months ago committed by TDE Gitea
parent 33e2d27f7a
commit 22e04e9ea4

@ -933,6 +933,8 @@ void KSMServer::storeSession()
TQStringList KSMServer::suspendOptions()
{
reconfigure();
TQStringList sopt;
#ifdef WITH_TDEHWLIB

@ -330,6 +330,8 @@ bool KSMServer::suspend(int stype)
if (stype == SuspendType::NotSpecified)
return false;
reconfigure();
#ifdef WITH_TDEHWLIB
TDERootSystemDevice* rootDevice = hwDevices->rootSystemDevice();
if (rootDevice) {

Loading…
Cancel
Save