summaryrefslogtreecommitdiff
path: root/src/modinfo.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2018-04-06 00:56:58 -0500
committerSilarn <jrim@rimpo.org>2018-04-06 00:56:58 -0500
commitfed89352d1c9870bb34cbc1a65c3a8d3043086f9 (patch)
tree2da96991f563c37db3ac0e9b2220f1b7f84c81a9 /src/modinfo.cpp
parent74dd2bb914a1f2a31506c3544b6ee198f65e2b6b (diff)
Changes to allow plugin loading in the mod info dialog (and rename SE)
Diffstat (limited to 'src/modinfo.cpp')
-rw-r--r--src/modinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp
index c14eedb7..d80c636b 100644
--- a/src/modinfo.cpp
+++ b/src/modinfo.cpp
@@ -55,7 +55,7 @@ QMutex ModInfo::s_Mutex(QMutex::Recursive);
QString ModInfo::s_HiddenExt(".mohidden");
-static bool ByName(const ModInfo::Ptr &LHS, const ModInfo::Ptr &RHS)
+bool ModInfo::ByName(const ModInfo::Ptr &LHS, const ModInfo::Ptr &RHS)
{
return QString::compare(LHS->name(), RHS->name(), Qt::CaseInsensitive) < 0;
}
@@ -98,7 +98,7 @@ QString ModInfo::getContentTypeName(int contentType)
case CONTENT_INTERFACE: return tr("UI Changes");
case CONTENT_SOUND: return tr("Sound Effects");
case CONTENT_SCRIPT: return tr("Scripts");
- case CONTENT_SKSE: return tr("SKSE Plugins");
+ case CONTENT_SKSE: return tr("Script Extender");
case CONTENT_SKYPROC: return tr("SkyProc Tools");
case CONTENT_MCM: return tr("MCM Data");
default: throw MyException(tr("invalid content type %1").arg(contentType));
@@ -239,7 +239,7 @@ void ModInfo::updateFromDisc(const QString &modDirectory,
createFromOverwrite();
- std::sort(s_Collection.begin(), s_Collection.end(), ByName);
+ std::sort(s_Collection.begin(), s_Collection.end(), ModInfo::ByName);
updateIndices();
}