比较提交
没有共同的提交。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
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户