diff options
| author | Brian Munro <brian.alexander.munro@gmail.com> | 2017-10-22 08:00:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-22 08:00:13 +0200 |
| commit | 2d4b46333858b25bd70f7d7f045cedc3ab7ada4f (patch) | |
| tree | 5d90147a22a65607e7bc4242c17c990e2cdd5625 /src/modinforegular.cpp | |
| parent | 4689db76248166d8a4086952e4976bd6d74414fe (diff) | |
| parent | e4d431fe2111134ec38f69a1924a2730e89767fc (diff) | |
Merge pull request #104 from Silarn/mainline_dev
Updates for ESL support
Diffstat (limited to 'src/modinforegular.cpp')
| -rw-r--r-- | src/modinforegular.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modinforegular.cpp b/src/modinforegular.cpp index 231e5497..bacc21f7 100644 --- a/src/modinforegular.cpp +++ b/src/modinforegular.cpp @@ -430,7 +430,7 @@ std::vector<ModInfo::EContent> ModInfoRegular::getContents() const if (m_LastContentCheck.isNull() || (m_LastContentCheck.secsTo(now) > 60)) { m_CachedContent.clear(); QDir dir(absolutePath()); - if (dir.entryList(QStringList() << "*.esp" << "*.esm").size() > 0) { + if (dir.entryList(QStringList() << "*.esp" << "*.esm" << "*.esl").size() > 0) { m_CachedContent.push_back(CONTENT_PLUGIN); } if (dir.entryList(QStringList() << "*.bsa" << "*.ba2").size() > 0) { @@ -476,7 +476,7 @@ int ModInfoRegular::getHighlight() const QString ModInfoRegular::getDescription() const { if (!isValid()) { - return tr("%1 contains no esp/esm and no asset (textures, meshes, interface, ...) directory").arg(name()); + return tr("%1 contains no esp/esm/esl and no asset (textures, meshes, interface, ...) directory").arg(name()); } else { const std::set<int> &categories = getCategories(); std::wostringstream categoryString; |
