summaryrefslogtreecommitdiff
path: root/src/modinforegular.cpp
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2018-04-13 11:56:36 +0200
committerGitHub <noreply@github.com>2018-04-13 11:56:36 +0200
commitbc75009169ecbf378fa90891dc8183a8cb3ef499 (patch)
tree221f74cbaeea3750bd705a6a37ff8242e4cef192 /src/modinforegular.cpp
parentd6aab781ee1d5b927ccf06100e74539a980ee83f (diff)
parent8be73d2e3b0af9cb99616d31418a0d9c74aca466 (diff)
Merge pull request #294 from Modorganizer2/Develop
Release 2.1.2
Diffstat (limited to 'src/modinforegular.cpp')
-rw-r--r--src/modinforegular.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinforegular.cpp b/src/modinforegular.cpp
index 5486bb2c..4572f5bf 100644
--- a/src/modinforegular.cpp
+++ b/src/modinforegular.cpp
@@ -299,7 +299,7 @@ bool ModInfoRegular::setName(const QString &name)
s_ModsByName[m_Name] = index;
- std::sort(s_Collection.begin(), s_Collection.end(), ByName);
+ std::sort(s_Collection.begin(), s_Collection.end(), ModInfo::ByName);
updateIndices();
} else { // otherwise mod isn't registered yet?
m_Name = name;