diff options
author | Mavridis Philippe <[email protected]> | 2024-07-10 12:06:51 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2024-08-01 13:02:12 +0300 |
commit | 4371e3c98c3f17bff8bbd07a765a0c9da8a95139 (patch) | |
tree | ffec5d30d8b1570cc987b72a016e5e6c25a727d0 | |
parent | eb1c3eedba99bb194d6aec4659fb5ff92348455c (diff) | |
download | tdebase-4371e3c98c3f17bff8bbd07a765a0c9da8a95139.tar.gz tdebase-4371e3c98c3f17bff8bbd07a765a0c9da8a95139.zip |
KSMServer: reload power-managerrc settings every time before they are needed
Signed-off-by: Mavridis Philippe <[email protected]>
(cherry picked from commit 88a090066be5f7c0d9611b88eb8f27902e1409ed)
-rw-r--r-- | ksmserver/server.cpp | 2 | ||||
-rw-r--r-- | ksmserver/shutdown.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp index 2cfb2e671..dea7c0599 100644 --- a/ksmserver/server.cpp +++ b/ksmserver/server.cpp @@ -933,6 +933,8 @@ void KSMServer::storeSession() TQStringList KSMServer::suspendOptions() { + reconfigure(); + TQStringList sopt; #ifdef WITH_TDEHWLIB diff --git a/ksmserver/shutdown.cpp b/ksmserver/shutdown.cpp index 0b711e53f..23ba4977b 100644 --- a/ksmserver/shutdown.cpp +++ b/ksmserver/shutdown.cpp @@ -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) { |