McuSupport: Compile fix

Amends 96506f1f6a

Change-Id: Icfdb889fa76f99c735e0b65782c54d1c2dda974f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
hjk
2023-07-11 09:04:02 +02:00
parent 96506f1f6a
commit d003cca74e

View File

@@ -109,7 +109,7 @@ DeployMcuProcessStep::DeployMcuProcessStep(ProjectExplorer::BuildStepList *bc, U
outDir->setPlaceHolderText(m_tmpDir.path()); outDir->setPlaceHolderText(m_tmpDir.path());
setCommandLineProvider([this, cmd, args, outDir]() -> Utils::CommandLine { setCommandLineProvider([this, cmd, args, outDir]() -> Utils::CommandLine {
auto directory = outDir->value(); auto directory = outDir->stringValue();
if (directory.isEmpty()) if (directory.isEmpty())
directory = m_tmpDir.path(); directory = m_tmpDir.path();