summaryrefslogtreecommitdiff
path: root/src/modinfo.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2017-11-30 20:55:00 -0600
committerGitHub <noreply@github.com>2017-11-30 20:55:00 -0600
commitc55a923bb8b9b66661f32beed8445602400ef318 (patch)
tree850ead2730c8ab50babc865a505a513d8fba5f46 /src/modinfo.cpp
parent7ec0b79eb49a27a3516d799a80d57000cde344da (diff)
parent797a007eab2695c231a00240225d77b3a9928992 (diff)
Merge pull request #132 from Silarn/mainline_dev
Numerous updates
Diffstat (limited to 'src/modinfo.cpp')
-rw-r--r--src/modinfo.cpp6
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);