aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/src-cpp/plugins-screensaver.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-10-12 10:26:39 -0400
committerKen Moore <ken@ixsystems.com>2017-10-12 10:26:39 -0400
commit0de3da7df93ab5791b62d2b3da0a4fc9abdd4e4d (patch)
tree09c5e4dba1760324f985e6378c3098c0bcd4bc39 /src-qt5/src-cpp/plugins-screensaver.cpp
parentUpdate lumina-checkpass with 2 additional options: (diff)
downloadlumina-0de3da7df93ab5791b62d2b3da0a4fc9abdd4e4d.tar.gz
lumina-0de3da7df93ab5791b62d2b3da0a4fc9abdd4e4d.tar.bz2
lumina-0de3da7df93ab5791b62d2b3da0a4fc9abdd4e4d.zip
Add a new screensaver: Warp
This is a starfield "warping" effect screensaver. Also turn off a bunch of debugging within the C++ screensaver plugin system
Diffstat (limited to 'src-qt5/src-cpp/plugins-screensaver.cpp')
-rw-r--r--src-qt5/src-cpp/plugins-screensaver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src-qt5/src-cpp/plugins-screensaver.cpp b/src-qt5/src-cpp/plugins-screensaver.cpp
index e9ac1330..75e93c9d 100644
--- a/src-qt5/src-cpp/plugins-screensaver.cpp
+++ b/src-qt5/src-cpp/plugins-screensaver.cpp
@@ -61,7 +61,7 @@ if(ok){
QJsonArray tmpA = data.value("additional_files").toArray();
for(int i=0; i<tmpA.count(); i++){ mustexist << tmpA[i].toString(); }
QString reldir = currentfile.section("/",0,-2) + "/";
- qDebug() << "Got MustExist:" << mustexist << reldir;
+ //qDebug() << "Got MustExist:" << mustexist << reldir;
for(int i=0; i<mustexist.length() && ok; i++){
if(mustexist[i].startsWith("/")){ ok = QFile::exists(mustexist[i]); }
else { ok = QFile::exists(reldir+mustexist[i]); }
@@ -102,7 +102,7 @@ QString SSPlugin::translatedDescription(){
QUrl SSPlugin::scriptURL(){
QString exec = data.value("qml").toObject().value("exec").toString();
- qDebug() << "got exec:" << exec;
+ //qDebug() << "got exec:" << exec;
if(!exec.startsWith("/")){ exec.prepend( currentfile.section("/",0,-2)+"/" ); }
return QUrl::fromLocalFile(exec);
}
@@ -138,11 +138,11 @@ QList<SSPlugin> SSPluginSystem::findAllPlugins(bool validonly){
if(!QFile::exists(dirs[i]+REL_DIR)){ continue; }
QDir dir(dirs[i]+REL_DIR);
QStringList files = dir.entryList(QStringList() << "*.json", QDir::Files, QDir::Name);
- qDebug() << "Found Files:" << files;
+ //qDebug() << "Found Files:" << files;
for(int j=0; j<files.length(); j++){
SSPlugin tmp;
tmp.loadFile(dir.absoluteFilePath(files[j]));
- qDebug() << "Loaded File:" << files[j] << tmp.isValid();
+ //qDebug() << "Loaded File:" << files[j] << tmp.isValid();
if(!validonly || tmp.isValid()){ LIST << tmp; }
}
}
bgstack15