shared: Indexer: Use isErrorSaveFileResult() to check for non-successful results

这个提交包含在:
Albert S. 2022-07-11 17:14:45 +02:00
父节点 64a9638d1e
当前提交 cc9dae37e5
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -120,7 +120,7 @@ void Indexer::dirScanProgress(int current, int total)
void Indexer::processFileScanResult(FileScanResult result)
{
if(result.second != OK || result.second != OK_WASEMPTY || result.second != SKIPPED)
if(isErrorSaveFileResult(result.second))
{
this->currentIndexResult.results.append(result);
if(!keepGoing)