aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/LScreenSaver.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-05-22 17:12:32 -0400
committerKen Moore <ken@pcbsd.org>2015-05-22 17:12:32 -0400
commit5f12e4d7dadf49963ef3925b0cd786748e3073f1 (patch)
treefbb732d5ed50eb840d535fb764678b5391bbb7cc /lumina-wm-INCOMPLETE/LScreenSaver.cpp
parentFix a missing icon in the new system monitor plugin. (diff)
downloadlumina-5f12e4d7dadf49963ef3925b0cd786748e3073f1.tar.gz
lumina-5f12e4d7dadf49963ef3925b0cd786748e3073f1.tar.bz2
lumina-5f12e4d7dadf49963ef3925b0cd786748e3073f1.zip
Another quick checkpoint with teh lumina-wm sources - still nothing to try using yet.
Diffstat (limited to 'lumina-wm-INCOMPLETE/LScreenSaver.cpp')
-rw-r--r--lumina-wm-INCOMPLETE/LScreenSaver.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lumina-wm-INCOMPLETE/LScreenSaver.cpp b/lumina-wm-INCOMPLETE/LScreenSaver.cpp
index 7af3758f..a903701c 100644
--- a/lumina-wm-INCOMPLETE/LScreenSaver.cpp
+++ b/lumina-wm-INCOMPLETE/LScreenSaver.cpp
@@ -34,9 +34,9 @@ void LScreenSaver::start(){
void LScreenSaver::reloadSettings(){
settings->sync();
- starttimer->setInterval( settings.value("timedelaymin",10).toInt() * 60000 );
- locktimer->setInterval( settings.value("lockdelaymin",1).toInt() * 60000 );
- hidetimer->setInterval( settings.value("hidesecs",15).toInt() * 1000 );
+ starttimer->setInterval( settings->value("timedelaymin",10).toInt() * 60000 );
+ locktimer->setInterval( settings->value("lockdelaymin",1).toInt() * 60000 );
+ hidetimer->setInterval( settings->value("hidesecs",15).toInt() * 1000 );
}
void LScreenSaver::newInputEvent(){
@@ -64,7 +64,7 @@ void LScreenSaver::newInputEvent(){
}else{
//Neither running nor locked
- if( settings.value("timedelaymin",10).toInt() > 0 ){ starttimer->start(); }
+ if( settings->value("timedelaymin",10).toInt() > 0 ){ starttimer->start(); }
}
}
@@ -76,14 +76,14 @@ void LScreenSaver::ShowScreenSaver(){
SSRunning = true;
//Start the lock timer if necessary
- if(!SSLocked && (settings.value("lockdelaymin",10).toInt()>0) ){ locktimer->start(); }
+ if(!SSLocked && (settings->value("lockdelaymin",10).toInt()>0) ){ locktimer->start(); }
}
void LScreenSaver::ShowLockScreen(){
SSLocked = true;
//Start the timer for hiding the lock screen due to inactivity
- if(settings.value("hidesecs",15).toInt() > 0 ){ hidetimer->start(); }
+ if(settings->value("hidesecs",15).toInt() > 0 ){ hidetimer->start(); }
}
void LScreenSaver::HideScreenSaver(){
bgstack15