summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-01-29 20:29:23 -0600
committerSilarn <jrim@rimpo.org>2019-02-18 21:29:25 -0600
commit6030a1d1fcceae8bd4063362e9c1dbe684a4732b (patch)
tree5dcd1e849093bc9746a66aaf3b784e609cd50539 /src/modlist.cpp
parentf07f6b8904f69a92cd24e3c52eaf1fc6db8e60dd (diff)
Sorting logic fix and show last updated date
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index 1ec5b556..8c502f99 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -465,6 +465,7 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const
.arg(modInfo->getLastNexusUpdate().toLocalTime().addSecs(3600).time().toString(Qt::DefaultLocaleShortDate));
} else {
text += "<br>" + tr("This mod is eligible for an update check.");
+ text += "<br>" + tr("It was last checked on %1").arg(modInfo->getLastNexusUpdate().toLocalTime().toString(Qt::DefaultLocaleShortDate));
}
}
return text;