forked from qt-creator/qt-creator
Debugger: Remove DebuggerStartParameters::connParams
It's nowadays a duplicate of a subset of what DSP::remoteChannel provides. Change-Id: I95363bd392cb1d24fb1f1e0a2780c2c295929cea Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -2177,7 +2177,8 @@ void DebuggerPluginPrivate::attachToQmlPort()
|
||||
|
||||
IDevice::ConstPtr device = DeviceKitInformation::device(kit);
|
||||
if (device) {
|
||||
rp.connParams = device->sshParameters();
|
||||
QSsh::SshConnectionParameters sshParameters = device->sshParameters();
|
||||
rp.remoteChannel = QString("%1:%2").arg(sshParameters.host).arg(sshParameters.port);
|
||||
Connection toolControl = device->toolControlChannel(IDevice::QmlControlChannel);
|
||||
QTC_ASSERT(toolControl.is<HostName>(), return);
|
||||
rp.qmlServer.host = toolControl.as<HostName>().host();
|
||||
|
||||
Reference in New Issue
Block a user