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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user