diff options
| author | Silarn <jrim@rimpo.org> | 2019-01-29 20:29:23 -0600 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2019-02-18 21:29:25 -0600 |
| commit | 6030a1d1fcceae8bd4063362e9c1dbe684a4732b (patch) | |
| tree | 5dcd1e849093bc9746a66aaf3b784e609cd50539 /src/modinfo.cpp | |
| parent | f07f6b8904f69a92cd24e3c52eaf1fc6db8e60dd (diff) | |
Sorting logic fix and show last updated date
Diffstat (limited to 'src/modinfo.cpp')
| -rw-r--r-- | src/modinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp index 5d5cb57e..e9cfd77b 100644 --- a/src/modinfo.cpp +++ b/src/modinfo.cpp @@ -326,7 +326,7 @@ int ModInfo::autoUpdateCheck(PluginContainer *pluginContainer, QObject *receiver } std::sort(sortedMods.begin(), sortedMods.end(), [](QSharedPointer<ModInfo> a, QSharedPointer<ModInfo> b) -> bool { - return a->getLastNexusUpdate() > b->getLastNexusUpdate(); + return a->getLastNexusUpdate() < b->getLastNexusUpdate(); }); if (sortedMods.size() > 10) |
