]> vaikene.ee Git - evaf/commitdiff
The exclude names pattern is now also applied to directory names in recursive searches.
authorEnar Väikene <enar@vaikene.net>
Fri, 2 Dec 2011 07:48:42 +0000 (09:48 +0200)
committerEnar Väikene <enar@vaikene.net>
Fri, 2 Dec 2011 07:48:42 +0000 (09:48 +0200)
src/apps/FileFinder/Engine/engine.cpp
src/apps/FileFinder/Engine/version.h

index 8ed0f7ca7069104020ccb7643f23b53fd0dfd371..5c79cfd468f6f5f69da3f3fcbd51d28ef8efb756 100644 (file)
@@ -410,6 +410,9 @@ void Internal::Worker::recursiveSearch(QString const & path)
                     return;
             }
 
+            if (mRxExcludeNames.isValid() && !mRxExcludeNames.isEmpty() && mRxExcludeNames.exactMatch(directory))
+                continue;
+
             recursiveSearch(l + directory);
         }
     }
index 2a39815dee217dcc40bc6ff6eed3243c5eec1baf..510754b06a88fed8d4e21aa483373ddd70d99b2f 100644 (file)
 /**
  * Module/library version number in the form major,minor,release,build
  */
-#define VER_FILE_VERSION                0,1,2,2
+#define VER_FILE_VERSION                0,1,3,3
 
 /**
  * Module/library version number in the string format (shall end with \0)
  */
-#define VER_FILE_VERSION_STR            "0.1.2.2\0"
+#define VER_FILE_VERSION_STR            "0.1.3.3\0"
 
 /**
  * Module/library name (shall end with \0)