From cbe84327c685626cf816f956b5857557a5f3090e Mon Sep 17 00:00:00 2001 From: Tannin Date: Wed, 25 Feb 2015 17:57:38 +0100 Subject: - added content icon for BSAs - improved display of content icons (better scaling and some borders) - bugfix: contains changes missing from changeset bc6b6430017b --- src/modinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modinfo.cpp') 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())); -- cgit v1.3.1