forked from qt-creator/qt-creator
ProjectExplorer: Use Utils::CommandLine in ProjectExplorer::Runnable
Change-Id: Id965f1f9047dcbc3ea5c9ddaa550d12668cf8ae6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -251,10 +251,10 @@ LocalQmlProfilerSupport::LocalQmlProfilerSupport(RunControl *runControl, const Q
|
||||
QString arguments = Utils::ProcessArgs::quoteArg(
|
||||
QmlDebug::qmlDebugCommandLineArguments(QmlDebug::QmlProfilerServices, code, true));
|
||||
|
||||
if (!debuggee.commandLineArguments.isEmpty())
|
||||
arguments += ' ' + debuggee.commandLineArguments;
|
||||
if (!debuggee.command.arguments().isEmpty())
|
||||
arguments += ' ' + debuggee.command.arguments();
|
||||
|
||||
debuggee.commandLineArguments = arguments;
|
||||
debuggee.command.setArguments(arguments);
|
||||
|
||||
doStart(debuggee, {});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user