summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-09-22 21:21:45 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-09-22 21:21:45 +0200
commitd9cc013813a2a360a9518ecfd3b2e0bb0596d86a (patch)
treef038dd536814eba30ebbd094b0463f6247dc034d /src/modlist.cpp
parentc18d8c5dff77925fb2f16cc6c706b1f73781ad23 (diff)
Change modId() to nexusId().
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index 63621368..2499bac0 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -240,7 +240,7 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const
return m_Profile->getModPriority(modIndex);
}
} else if (column == COL_MODID) {
- int modID = modInfo->modId();
+ int modID = modInfo->nexusId();
if (modID > 0) {
return modID;
}
@@ -333,7 +333,7 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const
return m_Profile->getModPriority(modIndex);
}
} else {
- return modInfo->modId();
+ return modInfo->nexusId();
}
} else if (role == Qt::UserRole + 1) {
return modIndex;
@@ -471,7 +471,7 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const
} else if (modInfo->getNexusFileStatus() == 6) {
text += "<br>" + tr("This file has been marked as \"Deleted\"! You may want to check for an update or remove the nexus ID from this mod!");
}
- if (modInfo->modId() > 0) {
+ if (modInfo->nexusId() > 0) {
if (!modInfo->canBeUpdated()) {
qint64 remains = QDateTime::currentDateTimeUtc().secsTo(modInfo->getExpires());
qint64 minutes = remains / 60;