shared: Indexer: Use isErrorSaveFileResult() to check for non-successful results
This commit is contained in:
والد
64a9638d1e
کامیت
cc9dae37e5
@ -120,7 +120,7 @@ void Indexer::dirScanProgress(int current, int total)
|
|||||||
|
|
||||||
void Indexer::processFileScanResult(FileScanResult result)
|
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);
|
this->currentIndexResult.results.append(result);
|
||||||
if(!keepGoing)
|
if(!keepGoing)
|
||||||
|
بارگذاری…
مرجع در شماره جدید
Block a user