summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-01-31 00:36:41 -0600
committerSilarn <jrim@rimpo.org>2019-02-18 21:29:26 -0600
commit6b9e94473addf468224ea2b0521ab724d5842cb5 (patch)
tree1dfbe6a85bcb5096a6fa37293a1b57bf075f0580 /src/modlist.cpp
parent5aed35d2b6a43bae284bea958456bc50b8bfda44 (diff)
Various fixes and updates
* Add second api type for mod info to segment updates from basic desc * Add saved nexus file type and factor it into the update display * Fix some issues with how we were checking for 'latest update' files
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index 8c502f99..3f8ea4e1 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -458,6 +458,11 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const
"(i.e. due to a bug) or the author uses a non-standard versioning scheme and that newest version is actually newer. "
"Either way you may want to \"upgrade\".");
}
+ if (modInfo->getNexusFileStatus() == 4) {
+ text += "<br>" + tr("This file has been marked as \"Old\". There is most likely an updated version of this file available.");
+ } 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->getNexusID() > 0) {
if (!modInfo->canBeUpdated()) {
text += "<br>" + tr("This mod was last checked on %1. It will be available to check after %2.")