summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kpowersave.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kpowersave.cpp b/src/kpowersave.cpp
index 1d42505..5b873cc 100644
--- a/src/kpowersave.cpp
+++ b/src/kpowersave.cpp
@@ -1262,7 +1262,7 @@ void kpowersave::_quit (){
kdDebugFuncIn(trace);
// set the KDE-Settings back to user default
- if(getenv("KDE_FULL_SESSION")) {
+ if(getenv("TDE_FULL_SESSION")) {
// first try to call the KDE method via DCOP to reset, if not fall back
if (!display->resetKDEScreensaver()) {
settings->load_kde();
@@ -1800,7 +1800,7 @@ void kpowersave::setSchemeSettings(){
}
} // TODO: check if this really work !!!
- else if(getenv("KDE_FULL_SESSION")) {
+ else if(getenv("TDE_FULL_SESSION")) {
// try to reset the complete screensaver settings. Ff this fail, use own methodes
if (!display->resetKDEScreensaver()) {
settings->load_kde();
@@ -1836,7 +1836,7 @@ void kpowersave::setSchemeSettings(){
settings->powerOffAfter);
}
}
- else if(getenv("KDE_FULL_SESSION")){
+ else if(getenv("TDE_FULL_SESSION")){
// try to reset the KDE screensaver/DPMS settings (if there are also
// no special screensaver settings) otherwise fall back and set values from files
if (!settings->specSsSettings && !display->resetKDEScreensaver()) {