1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-04-21 21:52:03 +02:00

appversionmanager: improve version logging

Gitlab: #1934
Change-Id: Ic73b39bb3b6e9c14cbe4b4e0773d744da68f5c72
This commit is contained in:
Andreas Traczyk 2025-03-04 14:17:29 -05:00
parent 3c279b292d
commit a950a3f9e7

View file

@ -77,10 +77,10 @@ struct AppVersionManager::Impl : public QObject
auto latestVersion = latestVersionString.toULongLong(); auto latestVersion = latestVersionString.toULongLong();
const QString channelStr = isBeta ? "beta" : "stable"; const QString channelStr = isBeta ? "beta" : "stable";
const auto newVersionFound = latestVersion > currentVersion; const auto newVersionFound = latestVersion > currentVersion;
qInfo().noquote() << "--------- Version info ------------" qInfo().noquote() << "--------- Version info ------------";
<< QString("\n - Current: %1 (%2)").arg(currentVersion).arg(channelStr); qInfo().noquote() << QString("\tCurrent: \t%1 (%2)").arg(currentVersion).arg(channelStr);
if (newVersionFound) { if (newVersionFound) {
qDebug() << " - Latest: " << latestVersion; qInfo().noquote() << QString("\tLatest: \t%1").arg(latestVersion);
Q_EMIT parent_.updateCheckReplyReceived(true, true); Q_EMIT parent_.updateCheckReplyReceived(true, true);
} else if (!quiet) { } else if (!quiet) {
Q_EMIT parent_.updateCheckReplyReceived(true, false); Q_EMIT parent_.updateCheckReplyReceived(true, false);