比較提交
沒有共同的提交。「cc9dae37e5af00ab99c457ec2b8c704a7f71391c」和「5f1932867942957b0bc3f147b584791e89144857」的歷史完全不同。
cc9dae37e5
...
5f19328679
@ -120,7 +120,7 @@ void Indexer::dirScanProgress(int current, int total)
|
||||
|
||||
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);
|
||||
if(!keepGoing)
|
||||
|
@ -30,9 +30,4 @@ 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
|
||||
|
載入中…
新增問題並參考
Block a user