Skip to content
Snippets Groups Projects
Commit a950a3f9 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

appversionmanager: improve version logging

Gitlab: #1934
Change-Id: Ic73b39bb3b6e9c14cbe4b4e0773d744da68f5c72
parent 3c279b29
No related branches found
No related tags found
No related merge requests found
......@@ -77,10 +77,10 @@ struct AppVersionManager::Impl : public QObject
auto latestVersion = latestVersionString.toULongLong();
const QString channelStr = isBeta ? "beta" : "stable";
const auto newVersionFound = latestVersion > currentVersion;
qInfo().noquote() << "--------- Version info ------------"
<< QString("\n - Current: %1 (%2)").arg(currentVersion).arg(channelStr);
qInfo().noquote() << "--------- Version info ------------";
qInfo().noquote() << QString("\tCurrent: \t%1 (%2)").arg(currentVersion).arg(channelStr);
if (newVersionFound) {
qDebug() << " - Latest: " << latestVersion;
qInfo().noquote() << QString("\tLatest: \t%1").arg(latestVersion);
Q_EMIT parent_.updateCheckReplyReceived(true, true);
} else if (!quiet) {
Q_EMIT parent_.updateCheckReplyReceived(true, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment