summaryrefslogtreecommitdiffstats
path: root/ksmserver/shutdown.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-07-10 12:06:51 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-08-01 13:00:28 +0300
commit88a090066be5f7c0d9611b88eb8f27902e1409ed (patch)
treea4934c9ba468007531ab34a9403673b48767c1f2 /ksmserver/shutdown.cpp
parent95837cc844210a35b3374bbe707cb82920b80a9b (diff)
downloadtdebase-88a090066be5f7c0d9611b88eb8f27902e1409ed.tar.gz
tdebase-88a090066be5f7c0d9611b88eb8f27902e1409ed.zip
KSMServer: reload power-managerrc settings every time before they are needed
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'ksmserver/shutdown.cpp')
-rw-r--r--ksmserver/shutdown.cpp2
1 files changed, 2 insertions, 0 deletions
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) {