shared: Indexer: Use isErrorSaveFileResult() to check for non-successful results
This commit is contained in:
parent
64a9638d1e
commit
cc9dae37e5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user