diff --git a/cli/filesaver.cpp b/cli/filesaver.cpp index 1a4109d..e9003cf 100644 --- a/cli/filesaver.cpp +++ b/cli/filesaver.cpp @@ -72,7 +72,7 @@ int FileSaver::updateFiles(const QVector paths, bool keepGoing, bool ve int FileSaver::processFiles(const QVector paths, std::function saverFunc, bool keepGoing, bool verbose) { std::atomic terminate { false }; - std::atomic errorsCount { 0 }; + std::atomic processedCount { 0 }; QtConcurrent::blockingMap(paths, [&](const QString &path) { if(terminate.load()) { @@ -85,26 +85,30 @@ int FileSaver::processFiles(const QVector paths, std::function