forked from qt-creator/qt-creator
DebuggerRunControlFactory::createAndScheduleRun: Remove unused parameter
No caller actually passed in a runconfiguration. Change-Id: I68a0cea8cd5d9bbdd4fb0b979ef4c5698f5b769d Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -454,14 +454,10 @@ IRunConfigurationAspect *DebuggerRunControlFactory::createRunConfigurationAspect
|
||||
return new DebuggerRunConfigurationAspect(rc);
|
||||
}
|
||||
|
||||
DebuggerRunControl *DebuggerRunControlFactory::createAndScheduleRun
|
||||
(const DebuggerStartParameters &sp, RunConfiguration *runConfiguration)
|
||||
DebuggerRunControl *DebuggerRunControlFactory::createAndScheduleRun(const DebuggerStartParameters &sp)
|
||||
{
|
||||
QString errorMessage;
|
||||
if (runConfiguration && !runConfiguration->ensureConfigured(&errorMessage))
|
||||
ProjectExplorer::ProjectExplorerPlugin::showRunErrorMessage(errorMessage);
|
||||
|
||||
DebuggerRunControl *rc = doCreate(sp, runConfiguration, &errorMessage);
|
||||
DebuggerRunControl *rc = doCreate(sp, 0, &errorMessage);
|
||||
if (!rc) {
|
||||
ProjectExplorer::ProjectExplorerPlugin::showRunErrorMessage(errorMessage);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user