#include "BackgroundWorker.h" #include #include #include #include #include BackgroundWorker::BackgroundWorker() : QObject(){ } BackgroundWorker::~BackgroundWorker(){ } void BackgroundWorker::startDirChecks(QString path){ QDir dir(path); //Make sure to remove any symlinks or redundency in the path if(dir.canonicalPath()!=path){ path = dir.canonicalPath(); dir.cd(path); } qDebug() << "Starting Dir Checks:" << path; //First check for image files if(imgFilter.isEmpty()){ //Initial Run - load supported image extensions QList fmt = QImageReader::supportedImageFormats(); for(int i=0; i