diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2024-10-10 13:49:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-10 13:49:31 +0200 |
| commit | bafc058b7f84d5133d166cf322d0b7e07c170f49 (patch) | |
| tree | f6fd2215f22d114e4182b3af2c908d4d5a16162a /src/filetreemodel.h | |
| parent | 71434efaa98eff5bf6182b5151a367be61522474 (diff) | |
Add filter checkbox to data tab to show/hide hidden files (#2136)
Diffstat (limited to 'src/filetreemodel.h')
| -rw-r--r-- | src/filetreemodel.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |
