mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:55:54 +00:00
UI: AutoUpdateManager: Warnings for errors
This commit is contained in:
parent
5eae7f8ef3
commit
46a7253ffc
@ -146,7 +146,7 @@ void AutoUpdateManager::clearUpdateDir()
|
|||||||
if (FileUtil::removePath(m_updatePath)) {
|
if (FileUtil::removePath(m_updatePath)) {
|
||||||
qCDebug(LC) << "Dir removed:" << m_updatePath;
|
qCDebug(LC) << "Dir removed:" << m_updatePath;
|
||||||
} else {
|
} 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);
|
const QStringList args = installerArgs(settings);
|
||||||
|
|
||||||
if (!QProcess::startDetached(installerPath, args)) {
|
if (!QProcess::startDetached(installerPath, args)) {
|
||||||
qCDebug(LC) << "Run Installer error:" << installerPath << args;
|
qCWarning(LC) << "Run Installer error:" << installerPath << args;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user