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