aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/src-cpp/plugins-screensaver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/src-cpp/plugins-screensaver.cpp')
-rw-r--r--src-qt5/src-cpp/plugins-screensaver.cpp1
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");
bgstack15