Visually validate input path in torrent creator dialog

PR #19245.
This commit is contained in:
Chocobo1
2023-07-02 12:56:41 +08:00
committed by GitHub
parent f4deb1050f
commit c3fc96dfe6
6 changed files with 48 additions and 17 deletions

View File

@@ -68,6 +68,9 @@ namespace Private
bool existingOnly() const;
void setExistingOnly(bool value);
bool filesOnly() const;
void setFilesOnly(bool value);
bool directoriesOnly() const;
void setDirectoriesOnly(bool value);
@@ -87,6 +90,7 @@ namespace Private
bool m_strictMode = false;
bool m_existingOnly = false;
bool m_filesOnly = false;
bool m_directoriesOnly = false;
bool m_checkReadPermission = false;
bool m_checkWritePermission = false;