Change msgs from info to debug

This commit is contained in:
elecpower
2022-09-06 09:29:41 +10:00
committed by Peter Feerick
parent bb4ed8023d
commit df8bec52c4
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -657,7 +657,7 @@ bool UpdateInterface::downloadAssetMetaData(const int assetId)
void UpdateInterface::downloadMetaData(const MetaDataType mdt, const QString & url) void UpdateInterface::downloadMetaData(const MetaDataType mdt, const QString & url)
{ {
reportProgress(tr("Download metadata for: %1").arg(metaDataTypeToString(mdt).toLower())); reportProgress(tr("Download metadata for: %1").arg(metaDataTypeToString(mdt).toLower()), QtDebugMsg);
download(DDT_MetaData, mdt, url, GH_ACCEPT_HEADER_METADATA, QString()); download(DDT_MetaData, mdt, url, GH_ACCEPT_HEADER_METADATA, QString());
} }
@@ -998,7 +998,7 @@ bool UpdateInterface::copyAsset()
bool UpdateInterface::copyStructure() bool UpdateInterface::copyStructure()
{ {
reportProgress(tr("Copy directory structure"), QtInfoMsg); reportProgress(tr("Copy directory structure"), QtDebugMsg);
if (progress) { if (progress) {
progress->setValue(0); progress->setValue(0);
@@ -1111,7 +1111,7 @@ bool UpdateInterface::copyStructure()
bool UpdateInterface::copyFiles() bool UpdateInterface::copyFiles()
{ {
reportProgress(tr("Copy files"), QtInfoMsg); reportProgress(tr("Copy files"), QtDebugMsg);
if (progress) { if (progress) {
progress->setValue(0); progress->setValue(0);
+4 -4
View File
@@ -76,11 +76,11 @@ void Updates::autoUpdates()
if (!factories->autoUpdate()) { if (!factories->autoUpdate()) {
QMessageBox::warning(this, CPN_STR_APP_NAME, tr("Updates finished with errors")); QMessageBox::warning(this, CPN_STR_APP_NAME, tr("Updates finished with errors"));
return;
} }
else {
QMessageBox::information(this, CPN_STR_APP_NAME, tr("Updates finished successfully")); QMessageBox::information(this, CPN_STR_APP_NAME, tr("Updates finished successfully"));
checkRunSDSync(); checkRunSDSync();
}
} }
} }