Change msgs from info to debug
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user