forked from qt-creator/qt-creator
Use Qt 5's QStringList::join(QChar)
Less typing and less cycles than join(QString) where appropriate Change-Id: I6ebc0e17e4d7fd9845864dd95b7de4ba4dad6906 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -87,7 +87,7 @@ static DebuggerStartParameters createDebuggerStartParameters(const QnxRunConfigu
|
||||
params.displayName = runConfig->displayName();
|
||||
params.remoteSetupNeeded = true;
|
||||
params.closeMode = KillAtClose;
|
||||
params.processArgs = runConfig->arguments().join(QLatin1String(" "));
|
||||
params.processArgs = runConfig->arguments().join(QLatin1Char(' '));
|
||||
|
||||
Debugger::DebuggerRunConfigurationAspect *aspect
|
||||
= runConfig->extraAspect<Debugger::DebuggerRunConfigurationAspect>();
|
||||
@@ -129,7 +129,7 @@ static AnalyzerStartParameters createAnalyzerStartParameters(const QnxRunConfigu
|
||||
params.startMode = StartLocal;
|
||||
params.runMode = mode;
|
||||
params.debuggee = runConfig->remoteExecutableFilePath();
|
||||
params.debuggeeArgs = runConfig->arguments().join(QLatin1String(" "));
|
||||
params.debuggeeArgs = runConfig->arguments().join(QLatin1Char(' '));
|
||||
params.connParams = DeviceKitInformation::device(runConfig->target()->kit())->sshParameters();
|
||||
params.displayName = runConfig->displayName();
|
||||
params.sysroot = SysRootKitInformation::sysRoot(runConfig->target()->kit()).toString();
|
||||
|
||||
Reference in New Issue
Block a user