Skip to content

Commit

Permalink
fix: [cxx] build parameters wrong
Browse files Browse the repository at this point in the history
Log: bug fix
Change-Id: I6e50e94bb721172dc733e5bb68cbd2b6315a2bfc
  • Loading branch information
deepin-mozart committed May 15, 2024
1 parent 1ab05c8 commit e80ea3c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ void StepsPane::setValues(const config::StepItem &item)

void StepsPane::getValues(config::StepItem &item)
{
item.buildArguments = d->toolArguments->text().split(" ");
QString arguments = d->toolArguments->text();
if (!arguments.isEmpty()){
item.buildArguments << arguments.split(" ");
}

item.activeTargetName = d->model->getSelectedTarget();
}

0 comments on commit e80ea3c

Please sign in to comment.