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:
hjk
2017-06-13 11:22:20 +02:00
parent e797f41759
commit 3a45d763ca
6 changed files with 10 additions and 24 deletions

View File

@@ -440,17 +440,9 @@ static bool fixupParameters(DebuggerRunParameters &rp, RunControl *runControl, Q
if (rp.masterEngineType == NoEngineType)
rp.masterEngineType = rp.cppEngineType;
if (device && rp.connParams.port == 0)
rp.connParams = device->sshParameters();
// Could have been set from command line.
if (rp.remoteChannel.isEmpty())
rp.remoteChannel = rp.connParams.host + ':' + QString::number(rp.connParams.port);
if (rp.startMode == NoStartMode)
rp.startMode = StartInternal;
if (runMode == DebugRunModeWithBreakOnMain)
rp.breakOnMain = true;