diff options
| author | Tannin <devnull@localhost> | 2013-10-16 19:32:59 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-16 19:32:59 +0200 |
| commit | 1bf3cc585e28516f4ff6c9edf720fa9d290f47c2 (patch) | |
| tree | f981154230527dff90a8907de0cf235ffc665179 /src/modinfo.cpp | |
| parent | f22bb9d6a6249e6789353903d9e51318ce8340af (diff) | |
- nmm importer now also transfers category, endorsement state and lastest version information
- nmm importer should now always determine the correct nexus id
- nmm importer will now correctly restore overwritten files for imported mods
Diffstat (limited to 'src/modinfo.cpp')
| -rw-r--r-- | src/modinfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp index 1479f7b4..9bc013f1 100644 --- a/src/modinfo.cpp +++ b/src/modinfo.cpp @@ -554,6 +554,11 @@ void ModInfoRegular::setNexusDescription(const QString &description) m_MetaInfoChanged = true; } +void ModInfoRegular::addNexusCategory(int categoryID) +{ + m_Categories.insert(CategoryFactory::instance().resolveNexusID(categoryID)); +} + void ModInfoRegular::setIsEndorsed(bool endorsed) { |
