diff options
author | Ken Moore <moorekou@gmail.com> | 2020-05-04 09:59:13 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2020-05-04 10:00:26 -0400 |
commit | f747ac87e16ae16343bcc6c40327eca92cffca07 (patch) | |
tree | 9ab2dd1b66f091780960f645f9f786ea496bd406 /src-qt5/src-cpp/plugins-screensaver.cpp | |
parent | Merge pull request #725 from JohnBlood/patch-1 (diff) | |
download | lumina-f747ac87e16ae16343bcc6c40327eca92cffca07.tar.gz lumina-f747ac87e16ae16343bcc6c40327eca92cffca07.tar.bz2 lumina-f747ac87e16ae16343bcc6c40327eca92cffca07.zip |
Get the screensaver system up and running.
The lockscreen prompt is disabled at the moment while testing some input detection mechanisms (unlock button just always works without verifying password)
Diffstat (limited to 'src-qt5/src-cpp/plugins-screensaver.cpp')
-rw-r--r-- | src-qt5/src-cpp/plugins-screensaver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/src-cpp/plugins-screensaver.cpp b/src-qt5/src-cpp/plugins-screensaver.cpp index 6370b068..09779bc5 100644 --- a/src-qt5/src-cpp/plugins-screensaver.cpp +++ b/src-qt5/src-cpp/plugins-screensaver.cpp @@ -19,6 +19,7 @@ SSPlugin::~SSPlugin(){ bool SSPlugin::isValid(){ if(data.isEmpty()){ return false; } + if( data.value("disabled").toBool(false) ){ return false; } //Skip any plugin with "disabled" = true bool ok = data.contains("name") && data.contains("qml") && data.contains("description"); ok &= containsDefault("name"); ok &= containsDefault("description"); |