diff options
| author | Tannin <devnull@localhost> | 2015-02-25 17:57:38 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-02-25 17:57:38 +0100 |
| commit | cbe84327c685626cf816f956b5857557a5f3090e (patch) | |
| tree | 9428b980b40e4ae2e2a68b13145b052894df1ae1 /src/modinfo.cpp | |
| parent | ce228e512cfd2b249a1ebc2ef0e576825afb29a0 (diff) | |
- added content icon for BSAs
- improved display of content icons (better scaling and some borders)
- bugfix: contains changes missing from changeset bc6b6430017b
Diffstat (limited to 'src/modinfo.cpp')
| -rw-r--r-- | src/modinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp index cf8fa5c5..c7d1101d 100644 --- a/src/modinfo.cpp +++ b/src/modinfo.cpp @@ -90,6 +90,7 @@ QString ModInfo::getContentTypeName(int contentType) case CONTENT_PLUGIN: return tr("Plugins"); case CONTENT_TEXTURE: return tr("Textures"); case CONTENT_MESH: return tr("Meshes"); + case CONTENT_BSA: return tr("BSA"); case CONTENT_INTERFACE: return tr("UI Changes"); case CONTENT_MUSIC: return tr("Music"); case CONTENT_SOUND: return tr("Sound Effects"); @@ -151,7 +152,6 @@ bool ModInfo::removeMod(unsigned int index) if (index >= s_Collection.size()) { throw MyException(tr("invalid index %1").arg(index)); } - // update the indices first ModInfo::Ptr modInfo = s_Collection[index]; s_ModsByName.erase(s_ModsByName.find(modInfo->name())); |
