From de4645f36b868d3021b904722267b279879bcbb6 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 24 Oct 2023 13:37:17 +0800 Subject: [PATCH] Change logging for sparkle update to qCInfo Signed-off-by: Claudio Cambra --- src/gui/updater/sparkleupdater_mac.mm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/updater/sparkleupdater_mac.mm b/src/gui/updater/sparkleupdater_mac.mm index 86b185294108..062ca31a3db3 100644 --- a/src/gui/updater/sparkleupdater_mac.mm +++ b/src/gui/updater/sparkleupdater_mac.mm @@ -76,7 +76,7 @@ - (instancetype)initWithOwner:(OCC::SparkleUpdater::SparkleInterface *)owner - (BOOL)backgroundUpdateChecksAllowed { BOOL allowUpdateCheck = OCC::ConfigFile().skipUpdateCheck() ? NO : YES; - qCDebug(OCC::lcUpdater) << "Updater may check for updates:" << (allowUpdateCheck ? "YES" : "NO"); + qCInfo(OCC::lcUpdater) << "Updater may check for updates:" << (allowUpdateCheck ? "YES" : "NO"); return allowUpdateCheck; } @@ -95,7 +95,7 @@ - (BOOL)updaterShouldShowUpdateAlertForScheduledUpdate:(SUUpdater *)updater forI - (void)notifyStateChange:(const OCC::SparkleUpdater::State)state displayStatus:(const QString&)statusString { - qCDebug(OCC::lcUpdater) << statusString; + qCInfo(OCC::lcUpdater) << statusString; _owner->statusChanged(state, statusString); } @@ -293,7 +293,7 @@ - (void)userDidCancelDownload:(SUUpdater *)updater void SparkleUpdater::checkForUpdate() { - qCDebug(OCC::lcUpdater) << "Checking for updates."; + qCInfo(OCC::lcUpdater) << "Checking for updates."; if (autoUpdaterAllowed()) { [_interface->updater checkForUpdates: NSApp]; } @@ -302,10 +302,10 @@ - (void)userDidCancelDownload:(SUUpdater *)updater void SparkleUpdater::backgroundCheckForUpdate() { if (autoUpdaterAllowed() && !ConfigFile().skipUpdateCheck()) { - qCDebug(OCC::lcUpdater) << "launching background check"; + qCInfo(OCC::lcUpdater) << "launching background check"; [_interface->updater checkForUpdatesInBackground]; } else { - qCDebug(OCC::lcUpdater) << "not launching background check, auto updater not allowed or update check skipped in config"; + qCInfo(OCC::lcUpdater) << "not launching background check, auto updater not allowed or update check skipped in config"; } }