Cli: CommandAdd: Correct progress print

This commit is contained in:
Albert S. 2022-04-24 17:13:07 +02:00
부모 8734d56d09
커밋 30414e3da3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

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