diff options
author | 2019-03-18 21:26:05 +0100 | |
---|---|---|
committer | 2019-04-04 15:16:09 -0700 | |
commit | 43fb4ef36b3f1b1a5c651f6342b475a9a6ed023a (patch) | |
tree | 7e4ee1a37ac5c9eac58f1c60f09d59d83c072dee /desktop-widgets/findmovedimagesdialog.cpp | |
parent | 1f9d7f29c55e80db830f7e7e8db15949483a8c1a (diff) | |
download | subsurface-43fb4ef36b3f1b1a5c651f6342b475a9a6ed023a.tar.gz |
Desktop: fix another variable name conflict
Addresses LGTM.com issue.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/findmovedimagesdialog.cpp')
-rw-r--r-- | desktop-widgets/findmovedimagesdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/findmovedimagesdialog.cpp b/desktop-widgets/findmovedimagesdialog.cpp index 32f885fca..a0ef0d9b4 100644 --- a/desktop-widgets/findmovedimagesdialog.cpp +++ b/desktop-widgets/findmovedimagesdialog.cpp @@ -93,7 +93,7 @@ struct Dir { double progressFrom, progressTo; }; -QVector<FindMovedImagesDialog::Match> FindMovedImagesDialog::learnImages(const QString &dir, int maxRecursions, QVector<QString> imagePathsIn) +QVector<FindMovedImagesDialog::Match> FindMovedImagesDialog::learnImages(const QString &rootdir, int maxRecursions, QVector<QString> imagePathsIn) { QMap<QString, ImageMatch> matches; @@ -112,7 +112,7 @@ QVector<FindMovedImagesDialog::Match> FindMovedImagesDialog::learnImages(const Q QVector<QVector<Dir>> stack; // Use a stack to recurse into directories stack.reserve(maxRecursions + 1); - stack.append({ { dir, 0.0, 1.0 } }); + stack.append({ { rootdir, 0.0, 1.0 } }); while (!stack.isEmpty()) { if (stack.last().isEmpty()) { stack.removeLast(); |