From bafc058b7f84d5133d166cf322d0b7e07c170f49 Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Thu, 10 Oct 2024 13:49:31 +0200 Subject: Add filter checkbox to data tab to show/hide hidden files (#2136) --- src/filetreemodel.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/filetreemodel.h') diff --git a/src/filetreemodel.h b/src/filetreemodel.h index fbb70c7a..da0d2d3f 100644 --- a/src/filetreemodel.h +++ b/src/filetreemodel.h @@ -18,7 +18,8 @@ public: NoFlags = 0x00, ConflictsOnly = 0x01, Archives = 0x02, - PruneDirectories = 0x04 + PruneDirectories = 0x04, + HiddenFiles = 0x08 }; enum Columns @@ -102,6 +103,8 @@ private: bool showArchives() const; + bool showHiddenFiles() const; + // for `forFetching`, see top of filetreemodel.cpp void update(FileTreeItem& parentItem, const MOShared::DirectoryEntry& parentEntry, const std::wstring& parentPath, bool forFetching); -- cgit v1.3.1