From 46a7253ffcc6ec25c771ad3ac5e314a859a41d67 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sat, 27 Apr 2024 11:06:59 +0300 Subject: [PATCH] UI: AutoUpdateManager: Warnings for errors --- src/ui/manager/autoupdatemanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/manager/autoupdatemanager.cpp b/src/ui/manager/autoupdatemanager.cpp index 85d20754..9e3a525f 100644 --- a/src/ui/manager/autoupdatemanager.cpp +++ b/src/ui/manager/autoupdatemanager.cpp @@ -146,7 +146,7 @@ void AutoUpdateManager::clearUpdateDir() if (FileUtil::removePath(m_updatePath)) { qCDebug(LC) << "Dir removed:" << m_updatePath; } else { - qCDebug(LC) << "Dir remove error:" << m_updatePath; + qCWarning(LC) << "Dir remove error:" << m_updatePath; } } @@ -176,7 +176,7 @@ bool AutoUpdateManager::runInstaller() const QStringList args = installerArgs(settings); if (!QProcess::startDetached(installerPath, args)) { - qCDebug(LC) << "Run Installer error:" << installerPath << args; + qCWarning(LC) << "Run Installer error:" << installerPath << args; return false; }