From c496ad1237198cf9c5a97b3b02c2897b5ac1990a Mon Sep 17 00:00:00 2001 From: flow Date: Sun, 7 Aug 2022 07:19:29 -0300 Subject: [PATCH] chore: make DirNameFromString add normal duplicate identifier Wrap the number in parenthesis to be similar to other software. Signed-off-by: flow --- launcher/FileSystem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp index 8966413a..2409696b 100644 --- a/launcher/FileSystem.cpp +++ b/launcher/FileSystem.cpp @@ -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