مقایسه کامیتها
2 کامیتها
5f19328679
...
cc9dae37e5
مولف | SHA1 | تاریخ | |
---|---|---|---|
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
|
||||
|
بارگذاری…
مرجع در شماره جدید
Block a user