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

Cette révision appartient à :
Albert S. 2022-07-11 17:14:45 +02:00
Parent 64a9638d1e
révision cc9dae37e5
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -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)