From 30414e3da35bc025a321ab01458467491cf245a9 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sun, 24 Apr 2022 17:13:07 +0200 Subject: [PATCH] Cli: CommandAdd: Correct progress print --- cli/commandadd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/commandadd.cpp b/cli/commandadd.cpp index 12ae7af..734c3d1 100644 --- a/cli/commandadd.cpp +++ b/cli/commandadd.cpp @@ -81,7 +81,7 @@ int CommandAdd::handle(QStringList arguments) connect(indexer, &Indexer::indexProgress, this, [](int pathsCount, unsigned int added, unsigned int skipped, unsigned int failed, unsigned int totalCount) - { Logger::info() << "Processed files: " << totalCount << Qt::endl; }); + { Logger::info() << "Processed files: " << pathsCount << Qt::endl; }); connect(indexer, &Indexer::finished, this, &CommandAdd::indexerFinished); /* TODO: keepGoing, verbose */