forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user