Debugger: Remove fillParametersFromRunConfiguration

Its use case is now covered by the generic createDebuggerRunControl.

Change-Id: I2bd04351a51f3f8aae8407c2b7921a4566c17d56
Reviewed-by: Benjamin Zeller <benjamin.zeller@canonical.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-06-29 09:07:47 +02:00
parent a77e32800c
commit 9a2020914d
2 changed files with 0 additions and 20 deletions

View File

@@ -648,20 +648,4 @@ DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
return creator.m_runControl;
}
/**
* Helper for 3rd party plugins in need to reproduce the enrichment process.
*/
bool fillParametersFromRunConfiguration(DebuggerStartParameters *sp, const RunConfiguration *runConfig,
QString *errorMessage)
{
DebuggerRunControlCreator creator;
creator.initialize(*sp);
creator.enrich(runConfig, 0);
creator.createRunControl(DebugRunMode);
if (errorMessage)
*errorMessage = creator.fullError();
*sp = creator.m_rp;
return creator.m_errors.isEmpty();
}
} // namespace Debugger