diff options
Diffstat (limited to 'logic/InstanceList.cpp')
-rw-r--r-- | logic/InstanceList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/InstanceList.cpp b/logic/InstanceList.cpp index 4e295e7f..3bdceb51 100644 --- a/logic/InstanceList.cpp +++ b/logic/InstanceList.cpp @@ -503,7 +503,7 @@ InstanceList::copyInstance(InstancePtr &newInstance, InstancePtr &oldInstance, c qDebug() << instDir.toUtf8(); if (!copyPath(oldInstance->instanceRoot(), instDir, false)) { - rootDir.removeRecursively(); + deletePath(instDir); return InstanceList::CantCreateDir; } |