diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-07-17 13:06:38 +0200 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-07-17 13:10:08 +0200 |
| commit | 5a0b8b431c3ffd5de2f4359492854310da32405e (patch) | |
| tree | aaf92f4f207160851cc6ca8be578e4ef41d7e404 /src/modinforegular.cpp | |
| parent | 61b33a83519d1473b6b7a62d3d571c5097572204 (diff) | |
Added Contains INI files content filter and checking.
Diffstat (limited to 'src/modinforegular.cpp')
| -rw-r--r-- | src/modinforegular.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modinforegular.cpp b/src/modinforegular.cpp index c19294f1..5b6ddcda 100644 --- a/src/modinforegular.cpp +++ b/src/modinforegular.cpp @@ -466,6 +466,10 @@ std::vector<ModInfo::EContent> ModInfoRegular::getContents() const if (dir.entryList(QStringList() << "*.bsa" << "*.ba2").size() > 0) { m_CachedContent.push_back(CONTENT_BSA); } + //use >1 for ini files since there is meta.ini in all mods already. + if (dir.entryList(QStringList() << "*.ini").size() > 1) { + m_CachedContent.push_back(CONTENT_INI); + } ScriptExtender *extender = qApp->property("managed_game") .value<IPluginGame *>() |
