shared: FileSaver: Return NOACCESS when no read access

This commit is contained in:
Albert S. 2022-06-23 15:25:49 +02:00
부모 e99b2ba091
커밋 9fd48d4664
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -100,6 +100,11 @@ SaveFileResult FileSaver::saveFile(const QFileInfo &fileInfo)
int status = -1;
if(!fileInfo.isReadable())
{
return NOACCESS;
}
if(!fileInfo.exists())
{
return NOTFOUND;