aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceList.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-02-23 19:08:35 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-03-20 14:56:33 -0700
commitdc5402349e8c65945d46f1539fd92823a05a391c (patch)
treecbb710514c1bbb52b740c904ee355248648bf6fd /launcher/InstanceList.cpp
parentae289c923c4f896dca7e6696eef7ca35b10be9bf (diff)
downloadPrismLauncher-dc5402349e8c65945d46f1539fd92823a05a391c.tar.gz
PrismLauncher-dc5402349e8c65945d46f1539fd92823a05a391c.tar.bz2
PrismLauncher-dc5402349e8c65945d46f1539fd92823a05a391c.zip
refactor: use UUID toString mode
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/InstanceList.cpp')
-rw-r--r--launcher/InstanceList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/InstanceList.cpp b/launcher/InstanceList.cpp
index 179bfb9a..5b33d678 100644
--- a/launcher/InstanceList.cpp
+++ b/launcher/InstanceList.cpp
@@ -875,7 +875,7 @@ Task* InstanceList::wrapInstanceTask(InstanceTask* task)
QString InstanceList::getStagedInstancePath()
{
- QString key = QUuid::createUuid().toString().remove("{").remove("}");
+ QString key = QUuid::createUuid().toString(QUuid::WithoutBraces);
QString tempDir = ".LAUNCHER_TEMP/";
QString relPath = FS::PathCombine(tempDir, key);
QDir rootPath(m_instDir);