From f361f78784721ff7e56c03d76b0ccd9dbda5153d Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Mon, 18 Feb 2019 11:23:17 +0100 Subject: [PATCH] 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 --- src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp b/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp index 12e47ca0d20..8877af90457 100644 --- a/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp +++ b/src/plugins/remotelinux/abstractremotelinuxdeployservice.cpp @@ -203,7 +203,9 @@ void AbstractRemoteLinuxDeployService::handleDeviceSetupDone(bool success) } else { connect(d->connection, &SshConnection::connected, 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) d->connection->connectToHost(); }