Debugger: Do not merge pdb arguments into a single one

Change-Id: I998d663e1fced1da10e7b3d4489db26eb244fe2b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-08-25 08:52:45 +02:00
parent 6406fd3645
commit c760cbd2f9

View File

@@ -449,8 +449,11 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
m_rp.mainScript = mainScript;
m_rp.interpreter = interpreter;
QString args = runConfig->property("arguments").toString();
if (!args.isEmpty())
QtcProcess::addArg(&m_rp.processArgs, args);
if (!args.isEmpty()) {
if (!m_rp.processArgs.isEmpty())
m_rp.processArgs.append(QLatin1Char(' '));
m_rp.processArgs.append(args);
}
m_rp.masterEngineType = PdbEngineType;
}
}