Do not show "downgraded deployment method" in error style

It is an interesting message in case the user misconfigured something,
but in cases where this is expected, like Boot2Qt on macOS where the
Docker build device does not support rsync or sftp, it is rather
confusing if this looks like an error.

Task-number: QTCREATORBUG-30831
Change-Id: I8f9be849c5c409189f3f7dea266b926aa23928e0
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2025-03-11 12:55:43 +01:00
parent 2109a4ad57
commit f3061f5bc8

View File

@@ -156,10 +156,7 @@ GroupItem GenericDeployStep::transferTask(const Storage<FilesToTransfer> &storag
.arg(FileTransfer::transferMethodName(preferredTransferMethod),
FileTransfer::transferMethodName(transferMethod),
deviceConfiguration()->displayName());
if (transferMethod == FileTransferMethod::GenericCopy)
addWarningMessage(message);
else
addProgressMessage(message);
addProgressMessage(message);
m_emittedDowngradeWarning = true;
}
transfer.setTransferMethod(transferMethod);