Hides special folders in FileDialog for macOS

(cherry picked from commit 1998f78679)
This commit is contained in:
Haoyu Qiu 2020-09-28 14:06:36 +08:00 committed by Rémi Verschelde
parent 0d8cbd5d8c
commit 7840a550b5
No known key found for this signature in database
GPG key ID: C3336907360768E1
4 changed files with 18 additions and 1 deletions

View file

@ -52,6 +52,7 @@ class DirAccessUnix : public DirAccess {
protected:
virtual String fix_unicode_name(const char *p_name) const { return String::utf8(p_name); }
virtual bool is_hidden(const String &p_name);
public:
virtual Error list_dir_begin(); ///< This starts dir listing