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

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/502/head
Mavridis Philippe 2 months ago
parent 95837cc844
commit 88a090066b
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -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