forked from qt-creator/qt-creator
Replace occurrences of QStringList() << pattern
Change-Id: I598d8c06193c2e72435a76165d1afc9ee3465b48 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -100,9 +100,8 @@ bool ConsoleProcess::start(const QString &program, const QString &args)
|
||||
return false;
|
||||
}
|
||||
pcmd = QLatin1String("/bin/sh");
|
||||
pargs = QtcProcess::Arguments::createUnixArgs(QStringList()
|
||||
<< QLatin1String("-c")
|
||||
<< (QtcProcess::quoteArg(program) + QLatin1Char(' ') + args));
|
||||
pargs = QtcProcess::Arguments::createUnixArgs(
|
||||
QStringList({ "-c", (QtcProcess::quoteArg(program) + ' ' + args) }));
|
||||
}
|
||||
|
||||
QtcProcess::SplitError qerr;
|
||||
|
||||
Reference in New Issue
Block a user