Skip to content

Commit

Permalink
Merge pull request #4731 from uklotzde/new-crate-name
Browse files Browse the repository at this point in the history
Fix string composition of new crate names
  • Loading branch information
daschuer authored Apr 23, 2022
2 parents 2e685d4 + ef76027 commit adecac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/trackset/crate/cratefeaturehelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ QString CrateFeatureHelper::proposeNameForNewCrate(
if (suffixCounter++ > 0) {
// Append suffix " 2", " 3", ...
proposedName = QStringLiteral("%1 %2")
.arg(initialName, suffixCounter);
.arg(initialName, QString::number(suffixCounter));
} else {
proposedName = initialName;
}
Expand Down

0 comments on commit adecac9

Please sign in to comment.