diff options
| author | Brian Munro <brian.alexander.munro@gmail.com> | 2017-12-05 06:34:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-05 06:34:47 +0200 |
| commit | fa598e86dbce096b5439ae704dd18cc5b1289191 (patch) | |
| tree | 66f9ecd51775c9e184b1679fc2d6fecc74fb1d8a /src/modinfo.cpp | |
| parent | c64e12a289066c6b4834c43a49ff631a33b2f3ce (diff) | |
| parent | ffdc5ca7ccb24bc937ed5418b7a6e5a1b7d719dd (diff) | |
Merge pull request #135 from LePresidente/QT5.7
All changes done for 2.1.0
Diffstat (limited to 'src/modinfo.cpp')
| -rw-r--r-- | src/modinfo.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp index 7cb4b4ba..77df6216 100644 --- a/src/modinfo.cpp +++ b/src/modinfo.cpp @@ -99,6 +99,7 @@ QString ModInfo::getContentTypeName(int contentType) case CONTENT_SCRIPT: return tr("Scripts"); case CONTENT_SKSE: return tr("SKSE Plugins"); case CONTENT_SKYPROC: return tr("SkyProc Tools"); + case CONTENT_MCM: return tr("MCM Data"); default: throw MyException(tr("invalid content type %1").arg(contentType)); } } @@ -300,6 +301,11 @@ void ModInfo::setVersion(const VersionInfo &version) m_Version = version; } +void ModInfo::setPluginSelected(const bool &isSelected) +{ + m_PluginSelected = isSelected; +} + void ModInfo::addCategory(const QString &categoryName) { int id = CategoryFactory::instance().getCategoryID(categoryName); |
