From 5a0b8b431c3ffd5de2f4359492854310da32405e Mon Sep 17 00:00:00 2001 From: Al12rs Date: Tue, 17 Jul 2018 13:06:38 +0200 Subject: Added Contains INI files content filter and checking. --- src/modinforegular.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modinforegular.cpp') 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 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() -- cgit v1.3.1