X-Git-Url: https://vaikene.ee/gitweb/pswgen10.html?a=blobdiff_plain;f=src%2Fapps%2FFileFinder%2FEngine%2Fengine.cpp;h=5c79cfd468f6f5f69da3f3fcbd51d28ef8efb756;hb=ce69c05c43f0c509e7795cfb3a2c93fc70ab51b5;hp=8ed0f7ca7069104020ccb7643f23b53fd0dfd371;hpb=c3f12950e16f519639cf987baf4f590abe6a0c2e;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);
}
}