summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/FileSystemModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/FileSystemModel.h')
-rw-r--r--Libraries/LibGUI/FileSystemModel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Libraries/LibGUI/FileSystemModel.h b/Libraries/LibGUI/FileSystemModel.h
index 1ebbb8e39d..2dd020de29 100644
--- a/Libraries/LibGUI/FileSystemModel.h
+++ b/Libraries/LibGUI/FileSystemModel.h
@@ -162,6 +162,9 @@ public:
return Core::DateTime::from_timestamp(timestamp).to_string();
}
+ bool should_show_dotfiles() const { return m_should_show_dotfiles; }
+ void set_should_show_dotfiles(bool);
+
private:
FileSystemModel(const StringView& root_path, Mode);
@@ -192,6 +195,8 @@ private:
unsigned m_thumbnail_progress { 0 };
unsigned m_thumbnail_progress_total { 0 };
+
+ bool m_should_show_dotfiles { false };
};
}