shared: SaveFileResult: Introduce isErrorSaveFileResult()

Esse commit está contido em:
Albert S. 2022-07-11 17:13:58 +02:00
commit 64a9638d1e

Ver arquivo

@ -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