diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2021-01-18 21:16:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-18 21:16:55 +0100 |
| commit | 339457f79d802070c36d8cc95f286b941455e789 (patch) | |
| tree | 45c47f12bea9e6cb81537b9a10fd1e9135799303 /src/modinfo.h | |
| parent | ee44a38c986d953a19cbb37b0297590844cf54ac (diff) | |
| parent | 4c64448947e624fa0a8e7025499cb889d272d232 (diff) | |
Merge pull request #1366 from LostDragonist/mod_casing
Make modlist.txt less case sensitive
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index 634ea900..c9b74a66 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -21,6 +21,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #define MODINFO_H #include "imodinterface.h" +#include "ifiletree.h" #include "versioninfo.h" class OrganizerCore; @@ -989,7 +990,7 @@ protected: static QMutex s_Mutex; static std::vector<ModInfo::Ptr> s_Collection; static ModInfo::Ptr s_Overwrite; - static std::map<QString, unsigned int> s_ModsByName; + static std::map<QString, unsigned int, MOBase::FileNameComparator> s_ModsByName; static std::map<std::pair<QString, int>, std::vector<unsigned int>> s_ModsByModID; static int s_NextID; |
