forked from qt-creator/qt-creator
CommandLine: Reuse new c'tor
Change-Id: Id154881b4f5d8c488e5c1f5e0f843d36bf838759 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -237,17 +237,17 @@ GroupItem DeviceCtlRunner::launchTask(const QString &bundleIdentifier)
|
||||
return SetupResult::StopWithError;
|
||||
}
|
||||
process.setCommand({FilePath::fromString("/usr/bin/xcrun"),
|
||||
QStringList{"devicectl",
|
||||
"device",
|
||||
"process",
|
||||
"launch",
|
||||
"--device",
|
||||
m_device->uniqueInternalDeviceId(),
|
||||
"--quiet",
|
||||
"--json-output",
|
||||
"-",
|
||||
bundleIdentifier}
|
||||
+ m_arguments});
|
||||
{"devicectl",
|
||||
"device",
|
||||
"process",
|
||||
"launch",
|
||||
"--device",
|
||||
m_device->uniqueInternalDeviceId(),
|
||||
"--quiet",
|
||||
"--json-output",
|
||||
"-",
|
||||
bundleIdentifier,
|
||||
m_arguments}});
|
||||
return SetupResult::Continue;
|
||||
};
|
||||
const auto onDone = [this](const Process &process, DoneWith result) {
|
||||
|
||||
Reference in New Issue
Block a user