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 */