From 5f12e4d7dadf49963ef3925b0cd786748e3073f1 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 22 May 2015 17:12:32 -0400 Subject: Another quick checkpoint with teh lumina-wm sources - still nothing to try using yet. --- lumina-wm-INCOMPLETE/LScreenSaver.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lumina-wm-INCOMPLETE/LScreenSaver.cpp') 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(){ -- cgit