diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-09-22 21:21:45 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-09-22 21:21:45 +0200 |
| commit | d9cc013813a2a360a9518ecfd3b2e0bb0596d86a (patch) | |
| tree | f038dd536814eba30ebbd094b0463f6247dc034d /src/modlistsortproxy.cpp | |
| parent | c18d8c5dff77925fb2f16cc6c706b1f73781ad23 (diff) | |
Change modId() to nexusId().
Diffstat (limited to 'src/modlistsortproxy.cpp')
| -rw-r--r-- | src/modlistsortproxy.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modlistsortproxy.cpp b/src/modlistsortproxy.cpp index f1bc6c13..ca0f3bb1 100644 --- a/src/modlistsortproxy.cpp +++ b/src/modlistsortproxy.cpp @@ -214,8 +214,8 @@ bool ModListSortProxy::lessThan(const QModelIndex &left, }
} break;
case ModList::COL_MODID: {
- if (leftMod->modId() != rightMod->modId())
- lt = leftMod->modId() < rightMod->modId();
+ if (leftMod->nexusId() != rightMod->nexusId())
+ lt = leftMod->nexusId() < rightMod->nexusId();
} break;
case ModList::COL_VERSION: {
if (leftMod->version() != rightMod->version())
@@ -425,7 +425,7 @@ bool ModListSortProxy::categoryMatchesMod( return false;
}
- b = (info->modId() > 0);
+ b = (info->nexusId() > 0);
break;
}
@@ -531,7 +531,7 @@ bool ModListSortProxy::filterMatchesMod(ModInfo::Ptr info, bool enabled) const bool ok;
int filterID = currentKeyword.toInt(&ok);
if (ok) {
- int modID = info->modId();
+ int modID = info->nexusId();
while (modID > 0) {
if (modID == filterID) {
foundKeyword = true;
|
