From 23b906b576c51c02770bc9645c4b7291f5f3d6a7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 30 Jan 2015 16:44:45 +0900 Subject: Fixed maxDepth option in search-n-replace in TDEFileRelace. This relates to bug 1238. Signed-off-by: Michele Calgaro --- tdefilereplace/tdefilereplacepart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdefilereplace/tdefilereplacepart.h') diff --git a/tdefilereplace/tdefilereplacepart.h b/tdefilereplace/tdefilereplacepart.h index ee5352d..579f7ab 100644 --- a/tdefilereplace/tdefilereplacepart.h +++ b/tdefilereplace/tdefilereplacepart.h @@ -133,7 +133,7 @@ class TDEFileReplacePart: public KParts::ReadOnlyPart * Replacing methods */ void fileReplace(); - void recursiveFileReplace(const TQString& dirName, int& filesNumber); + void recursiveFileReplace(const TQString& dirName, int& filesNumber, int depth); void replaceAndBackup(const TQString& currentDir, const TQString& oldFileName); void replaceAndOverwrite(const TQString& currentDir, const TQString& oldFileName); void replacingLoop(TQString& line, TDEListViewItem** item, bool& atLeastOneStringFound, int& occur, bool regularExpression, bool& askConfirmReplace); -- cgit v1.2.1