Commit 9a202091 authored by hjk's avatar hjk

Debugger: Remove fillParametersFromRunConfiguration

Its use case is now covered by the generic createDebuggerRunControl.

Change-Id: I2bd04351a51f3f8aae8407c2b7921a4566c17d56
Reviewed-by: default avatarBenjamin Zeller <>
Reviewed-by: default avatarChristian Stenger <>
parent a77e3280
......@@ -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.enrich(runConfig, 0);
if (errorMessage)
*errorMessage = creator.fullError();
*sp = creator.m_rp;
return creator.m_errors.isEmpty();
} // namespace Debugger
......@@ -52,10 +52,6 @@ DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStart
QString *errorMessage,
ProjectExplorer::RunMode runMode = ProjectExplorer::DebugRunMode);
DEBUGGER_EXPORT bool fillParametersFromRunConfiguration(DebuggerStartParameters *sp,
const ProjectExplorer::RunConfiguration *runConfig,
QString *errorMessage);
class DEBUGGER_EXPORT DebuggerRunControl
: public ProjectExplorer::RunControl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment