diff options
author | Ken Moore <ken@pcbsd.org> | 2015-05-22 17:12:32 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-05-22 17:12:32 -0400 |
commit | 5f12e4d7dadf49963ef3925b0cd786748e3073f1 (patch) | |
tree | fbb732d5ed50eb840d535fb764678b5391bbb7cc /lumina-wm-INCOMPLETE/LScreenSaver.cpp | |
parent | Fix a missing icon in the new system monitor plugin. (diff) | |
download | lumina-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.cpp | 12 |
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(){ |