RemoteLinux: Use SshParameter::userAtHost()

... instead of rolling its own.

Change-Id: I99cf1714e871b3af2c825d3b3f131982383a10b7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2023-03-15 15:32:40 +01:00
parent 958db5a144
commit 3507229a00

View File

@@ -1202,7 +1202,7 @@ protected:
}
QString host() const { return m_sshParameters.host(); }
QString userAtHost() const { return m_sshParameters.userName() + '@' + m_sshParameters.host(); }
QString userAtHost() const { return m_sshParameters.userAtHost(); }
QtcProcess &process() { return m_process; }
FileTransferDirection direction() const { return m_direction; }