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:
parent
277fa21f5f
commit
c496ad1237
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user