X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FFileFinder%2FEngine%2Fengine.cpp;h=5c79cfd468f6f5f69da3f3fcbd51d28ef8efb756;hb=2ed96066b8600d07d9ada5dc44e9768fe56e633c;hp=8ed0f7ca7069104020ccb7643f23b53fd0dfd371;hpb=5fe70cdf799cf7063df26fea9036c560cfa20ff4;p=evaf
diff --git a/src/apps/FileFinder/Engine/engine.cpp b/src/apps/FileFinder/Engine/engine.cpp
index 8ed0f7c..5c79cfd 100644
--- a/src/apps/FileFinder/Engine/engine.cpp
+++ b/src/apps/FileFinder/Engine/engine.cpp
@@ -410,6 +410,9 @@ void Internal::Worker::recursiveSearch(QString const & path)
return;
}
+ if (mRxExcludeNames.isValid() && !mRxExcludeNames.isEmpty() && mRxExcludeNames.exactMatch(directory))
+ continue;
+
recursiveSearch(l + directory);
}
}