diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2020-06-09 15:53:26 +0200 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2020-06-09 15:53:26 +0200 |
| commit | d164c179588c6e352515afeeac2b02a89d3059e4 (patch) | |
| tree | 4672e28e2ff18c2a2b48d0800a94759e8c098fba /src/modinfo.cpp | |
| parent | b548fd37e4da5b5f91638f2a004d918911308f90 (diff) | |
Fix consecutive mod update checks checking some mods again..
by correctly setting the last nexus update timestamp on a missed case.
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 a8e6a55b..826aa5c9 100644 --- a/src/modinfo.cpp +++ b/src/modinfo.cpp @@ -300,7 +300,7 @@ bool ModInfo::checkAllForUpdate(PluginContainer *pluginContainer, QObject *recei bool updatesAvailable = true; QDateTime earliest = QDateTime::currentDateTimeUtc(); - QDateTime latest; + QDateTime latest = QDateTime::fromMSecsSinceEpoch(0); std::set<QString> games; for (auto mod : s_Collection) { if (mod->canBeUpdated()) { |
