RemoteLinux: Add details to status message

This helps to investigate if the wrong device or IP was configured in
the settings.

Change-Id: I4fca0b01d67f13c3133a169e50b33efaf794f6d8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Rainer Keller
2019-02-18 11:23:17 +01:00
parent 5c951c837f
commit f361f78784

View File

@@ -203,7 +203,9 @@ void AbstractRemoteLinuxDeployService::handleDeviceSetupDone(bool success)
} else { } else {
connect(d->connection, &SshConnection::connected, connect(d->connection, &SshConnection::connected,
this, &AbstractRemoteLinuxDeployService::handleConnected); this, &AbstractRemoteLinuxDeployService::handleConnected);
emit progressMessage(tr("Connecting to device...")); emit progressMessage(tr("Connecting to device '%1' (%2)")
.arg(deviceConfiguration()->displayName())
.arg(deviceConfiguration()->sshParameters().host()));
if (d->connection->state() == SshConnection::Unconnected) if (d->connection->state() == SshConnection::Unconnected)
d->connection->connectToHost(); d->connection->connectToHost();
} }