Compare commits

..

No commits in common. "cc9dae37e5af00ab99c457ec2b8c704a7f71391c" and "5f1932867942957b0bc3f147b584791e89144857" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

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

View File

@ -30,9 +30,4 @@ static inline QString SaveFileResultToString(SaveFileResult sfr)
return SaveFileResultStr[(int)sfr]; return SaveFileResultStr[(int)sfr];
} }
static inline bool isErrorSaveFileResult(SaveFileResult result)
{
return result == DBFAIL || result == PROCESSFAIL || result == NOTFOUND || result == NOACCESS;
}
#endif // SAVEFILERESULT_H #endif // SAVEFILERESULT_H