Cli: CommandAdd: Correct progress print

This commit is contained in:
Albert S. 2022-04-24 17:13:07 +02:00
vecāks 8734d56d09
revīzija 30414e3da3
1 mainīti faili ar 1 papildinājumiem un 1 dzēšanām

Parādīt failu

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