summaryrefslogtreecommitdiff
path: root/src/selfupdater.cpp
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-01-30 22:16:38 -0600
committerLostDragonist <lost.dragonist@gmail.com>2019-01-30 22:16:38 -0600
commit0cac03cdf6cbfb7634a5f3875814b4c1aabe8714 (patch)
tree6a08dbaab52d44a27e9d85954a016c528feaca71 /src/selfupdater.cpp
parent46e2eac1ca65771bcb3bdec3a55038cd3a71e71c (diff)
Always display at least 3 segments of version info for MO itself
Diffstat (limited to 'src/selfupdater.cpp')
-rw-r--r--src/selfupdater.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp
index b5e7684c..37700e08 100644
--- a/src/selfupdater.cpp
+++ b/src/selfupdater.cpp
@@ -145,15 +145,15 @@ void SelfUpdater::testForUpdate()
if (newestVer > this->m_MOVersion) {
m_UpdateCandidate = newest;
qDebug("update available: %s -> %s",
- qUtf8Printable(this->m_MOVersion.displayString()),
- qUtf8Printable(newestVer.displayString()));
+ qUtf8Printable(this->m_MOVersion.displayString(3)),
+ qUtf8Printable(newestVer.displayString(3)));
emit updateAvailable();
} else if (newestVer < this->m_MOVersion) {
// this could happen if the user switches from using prereleases to
// stable builds. Should we downgrade?
qDebug("This version is newer than the latest released one: %s -> %s",
- qUtf8Printable(this->m_MOVersion.displayString()),
- qUtf8Printable(newestVer.displayString()));
+ qUtf8Printable(this->m_MOVersion.displayString(3)),
+ qUtf8Printable(newestVer.displayString(3)));
}
}
});