diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-04 03:36:34 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-04 03:36:34 -0500 |
| commit | 6f107023498cb00f268f55232e5f16254df9e79b (patch) | |
| tree | 2e02a9892df363b6575701e631b75b1abcb8e508 /src/filetree.cpp | |
| parent | 2f3b9f9a9eaa876cac1c12fe6756dc24cd709a20 (diff) | |
case insensitive checks for mohidden extension (lost in rebase)
Diffstat (limited to 'src/filetree.cpp')
| -rw-r--r-- | src/filetree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filetree.cpp b/src/filetree.cpp index 5831e75e..bf3a9a7a 100644 --- a/src/filetree.cpp +++ b/src/filetree.cpp @@ -27,7 +27,7 @@ bool canOpenFile(const FileEntry& file) bool isHidden(const FileEntry& file) { - return (QString::fromStdWString(file.getName()).endsWith(ModInfo::s_HiddenExt)); + return (QString::fromStdWString(file.getName()).endsWith(ModInfo::s_HiddenExt, Qt::CaseInsensitive)); } bool canExploreFile(const FileEntry& file); |
