forked from qt-creator/qt-creator
Remove a few uses of RunConfiguration::displayName()
The cases handled here are later handled using generic code in DebuggerRunControlCreator::enrich(). Change-Id: I03de1d5378718019afdb046f4446bb46a97ddee6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -137,7 +137,6 @@ RunControl *BareMetalRunControlFactory::create(
|
|||||||
sp.executable = bin;
|
sp.executable = bin;
|
||||||
sp.processArgs = rc->arguments();
|
sp.processArgs = rc->arguments();
|
||||||
sp.startMode = AttachToRemoteServer;
|
sp.startMode = AttachToRemoteServer;
|
||||||
sp.displayName = rc->displayName();
|
|
||||||
sp.commandsAfterConnect = p->initCommands().toLatin1();
|
sp.commandsAfterConnect = p->initCommands().toLatin1();
|
||||||
sp.commandsForReset = p->resetCommands().toLatin1();
|
sp.commandsForReset = p->resetCommands().toLatin1();
|
||||||
sp.remoteChannel = p->channel();
|
sp.remoteChannel = p->channel();
|
||||||
|
@@ -77,7 +77,6 @@ static DebuggerStartParameters createDebuggerStartParameters(QnxRunConfiguration
|
|||||||
params.executable = runConfig->localExecutableFilePath();
|
params.executable = runConfig->localExecutableFilePath();
|
||||||
params.remoteExecutable = runConfig->remoteExecutableFilePath();
|
params.remoteExecutable = runConfig->remoteExecutableFilePath();
|
||||||
params.remoteChannel = device->sshParameters().host + QLatin1String(":-1");
|
params.remoteChannel = device->sshParameters().host + QLatin1String(":-1");
|
||||||
params.displayName = runConfig->displayName();
|
|
||||||
params.remoteSetupNeeded = true;
|
params.remoteSetupNeeded = true;
|
||||||
params.closeMode = KillAtClose;
|
params.closeMode = KillAtClose;
|
||||||
params.processArgs = runConfig->arguments().join(QLatin1Char(' '));
|
params.processArgs = runConfig->arguments().join(QLatin1Char(' '));
|
||||||
|
@@ -91,7 +91,6 @@ DebuggerStartParameters LinuxDeviceDebugSupport::startParameters(const AbstractR
|
|||||||
params.startMode = AttachToRemoteServer;
|
params.startMode = AttachToRemoteServer;
|
||||||
params.closeMode = KillAndExitMonitorAtClose;
|
params.closeMode = KillAndExitMonitorAtClose;
|
||||||
params.remoteSetupNeeded = true;
|
params.remoteSetupNeeded = true;
|
||||||
params.displayName = runConfig->displayName();
|
|
||||||
|
|
||||||
auto aspect = runConfig->extraAspect<DebuggerRunConfigurationAspect>();
|
auto aspect = runConfig->extraAspect<DebuggerRunConfigurationAspect>();
|
||||||
if (aspect->useQmlDebugger()) {
|
if (aspect->useQmlDebugger()) {
|
||||||
|
Reference in New Issue
Block a user