ProjectExplorer: Dissolve SimpleRunControl

As planned.

Change-Id: I9d9349cdd174c47b2331095fbe545b811e6ca770
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-04-13 09:01:54 +02:00
parent d87afd4b89
commit 230524da16
9 changed files with 27 additions and 31 deletions

View File

@@ -674,7 +674,9 @@ RunControl *PythonRunControlFactory::create(RunConfiguration *runConfiguration,
{
Q_UNUSED(errorMessage)
QTC_ASSERT(canRun(runConfiguration, mode), return 0);
return new SimpleRunControl(runConfiguration, mode);
auto runControl = new RunControl(runConfiguration, mode);
(void) new SimpleTargetRunner(runControl);
return runControl;
}
// PythonRunConfigurationWidget