summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Bessent <lost.dragonist@gmail.com>2021-02-08 06:09:06 -0700
committerChris Bessent <lost.dragonist@gmail.com>2021-02-08 06:09:06 -0700
commitf058125e6679560e5ade95a76c05acd6eb5274d4 (patch)
treecc0db3fe9692f63f51eacbbfbb966bf9dad26daa /src
parenta9e3c4e2b56059876baf257ffe7963e8703a36bf (diff)
Fix concatenating update logs
Diffstat (limited to 'src')
-rw-r--r--src/selfupdater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp
index c0f3b005..70ab9090 100644
--- a/src/selfupdater.cpp
+++ b/src/selfupdater.cpp
@@ -129,7 +129,7 @@ void SelfUpdater::testForUpdate(const Settings& settings)
auto lastKey = mreleases.begin()->first;
if (lastKey > this->m_MOVersion) {
- // Fill m_UpdateCandidates with version strictly greater than the
+ // Fill m_UpdateCandidates with version strictly greater than the
// current version:
m_UpdateCandidates.clear();
for (auto p : mreleases) {
@@ -182,7 +182,7 @@ void SelfUpdater::startUpdate()
}
// Stop including pre-release as soon as we find a non-prerelease:
- if (!release["prelease"].toBool()) {
+ if (!release["prerelease"].toBool()) {
includePreRelease = false;
}