aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/processparameters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/processparameters.cpp')
-rw-r--r--src/plugins/projectexplorer/processparameters.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/processparameters.cpp b/src/plugins/projectexplorer/processparameters.cpp
index 350aa7c90f..f535cc120e 100644
--- a/src/plugins/projectexplorer/processparameters.cpp
+++ b/src/plugins/projectexplorer/processparameters.cpp
@@ -54,6 +54,14 @@ ProcessParameters::ProcessParameters() :
{
}
+void ProcessParameters::setCommandLine(const CommandLine &cmdLine)
+{
+ m_command = cmdLine.executable();
+ m_arguments = cmdLine.arguments();
+ m_effectiveCommand.clear();
+ m_effectiveArguments.clear();
+}
+
/*!
Sets the executable to run.
*/