chore: make DirNameFromString add normal duplicate identifier

Wrap the number in parenthesis to be similar to other software.

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-08-07 07:19:29 -03:00
parent 277fa21f5f
commit c496ad1237
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -280,8 +280,7 @@ QString DirNameFromString(QString string, QString inDir)
if (num == 0) {
dirName = baseName;
} else {
dirName = baseName + QString::number(num);
;
dirName = baseName + "(" + QString::number(num) + ")";
}
// If it's over 9000