From f747ac87e16ae16343bcc6c40327eca92cffca07 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 4 May 2020 09:59:13 -0400 Subject: 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) --- src-qt5/src-cpp/plugins-screensaver.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src-qt5/src-cpp/plugins-screensaver.cpp') 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"); -- cgit