refactor: use UUID toString mode
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
ae289c923c
commit
dc5402349e
4 changed files with 6 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue