Cli: CommandAdd: Correct progress print

这个提交包含在:
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 */