diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-02-23 19:08:35 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-03-20 14:56:33 -0700 |
commit | dc5402349e8c65945d46f1539fd92823a05a391c (patch) | |
tree | cbb710514c1bbb52b740c904ee355248648bf6fd /launcher/InstanceList.cpp | |
parent | ae289c923c4f896dca7e6696eef7ca35b10be9bf (diff) | |
download | PrismLauncher-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.cpp | 2 |
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); |