Comparar commits
2 Commits
5f19328679
...
cc9dae37e5
Autor | SHA1 | Data | |
---|---|---|---|
cc9dae37e5 | |||
64a9638d1e |
@ -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)
|
||||
|
@ -30,4 +30,9 @@ static inline QString SaveFileResultToString(SaveFileResult sfr)
|
||||
return SaveFileResultStr[(int)sfr];
|
||||
}
|
||||
|
||||
static inline bool isErrorSaveFileResult(SaveFileResult result)
|
||||
{
|
||||
return result == DBFAIL || result == PROCESSFAIL || result == NOTFOUND || result == NOACCESS;
|
||||
}
|
||||
|
||||
#endif // SAVEFILERESULT_H
|
||||
|
Carregando…
Referência em uma nova issue
Block a user