forked from qt-creator/qt-creator
Incredibuild: Fix handling of build commands
The default command is supposed to be a placeholder not
an entry done by the user.
Allow entering an empty string again to rely on the default.
As on it fix place holders inside strings.
Amends e04b9a5348.
Change-Id: I111c843d9620ecc8cf5a7a3c63ca7ac92e588e0c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -106,7 +106,7 @@ IBConsoleBuildStep::IBConsoleBuildStep(BuildStepList *buildStepList, Id id)
|
||||
QStringList args;
|
||||
|
||||
if (nice->value() != 0)
|
||||
args.append(QString("--nice %0 ").arg(nice->value()));
|
||||
args.append(QString("--nice %1 ").arg(nice->value()));
|
||||
|
||||
if (alternate->value())
|
||||
args.append("--alternate");
|
||||
|
||||
Reference in New Issue
Block a user