1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Hides special folders in FileDialog for macOS

This commit is contained in:
Haoyu Qiu
2020-09-28 14:06:36 +08:00
parent 80165210c3
commit 1998f78679
4 changed files with 18 additions and 1 deletions

View File

@@ -51,6 +51,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