diff options
author | Michele Calgaro <[email protected]> | 2015-01-30 16:44:45 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2015-01-30 16:44:45 +0900 |
commit | 23b906b576c51c02770bc9645c4b7291f5f3d6a7 (patch) | |
tree | f76f74ac49a49513a47a2c003e2113327a2d4072 /tdefilereplace/tdefilereplacepart.h | |
parent | 52c1190b1b96e88d17e1669993771192f1e3b724 (diff) | |
download | tdeutils-23b906b576c51c02770bc9645c4b7291f5f3d6a7.tar.gz tdeutils-23b906b576c51c02770bc9645c4b7291f5f3d6a7.zip |
Fixed maxDepth option in search-n-replace in TDEFileRelace. This relates to bug 1238.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdefilereplace/tdefilereplacepart.h')
-rw-r--r-- | tdefilereplace/tdefilereplacepart.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |