forked from qt-creator/qt-creator
Utils: More forward declarations / drop unused headers [T-Z]
Round 1 - focus on headers. For classes with initial in range [T-Z]. Replace QT_FORWARD_DECLARE_CLASS with QT_BEGIN_NAMESPACE and QT_END_NAMESPACE and forward declare inside. Change-Id: I4ac3a8391e6167aa2db3973a9f94a45ac3c8ebd1 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -155,8 +155,8 @@ TerminalCommand TerminalCommand::terminalEmulator()
|
||||
const QStringList splitCommand = ProcessArgs::splitArgs(value);
|
||||
if (QTC_GUARD(!splitCommand.isEmpty())) {
|
||||
const QString command = splitCommand.first();
|
||||
const QStringList quotedArgs = Utils::transform(splitCommand.mid(1),
|
||||
&ProcessArgs::quoteArgUnix);
|
||||
const QStringList quotedArgs = transform(splitCommand.mid(1),
|
||||
&ProcessArgs::quoteArgUnix);
|
||||
const QString options = quotedArgs.join(' ');
|
||||
return {command, "", options};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user