forked from qt-creator/qt-creator
Combine some SshConnectionParameter members
Combine host, port, username and password into a 'url' member and add some convenience accessors. Change-Id: Iddc26ff00dad1285c96aa56f196dbc4febe8e974 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -972,7 +972,7 @@ Port GdbServerPortsGatherer::gdbServerPort() const
|
||||
QString GdbServerPortsGatherer::gdbServerChannel() const
|
||||
{
|
||||
QUrl url = channel(0);
|
||||
const QString host = m_device->sshParameters().host;
|
||||
const QString host = m_device->sshParameters().host();
|
||||
return QString("%1:%2").arg(host).arg(url.port());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user