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:
hjk
2016-01-08 07:48:54 +01:00
parent 1d7243e724
commit 91d9daa55a
3 changed files with 0 additions and 3 deletions

View File

@@ -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();

View File

@@ -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(' '));

View File

@@ -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()) {