summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/ModList.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-10-10 05:55:55 +0200
committerPetr Mrázek <peterix@gmail.com>2015-10-10 05:55:55 +0200
commit44db72ead568fe7ce22e1999aac02fd9aac9beea (patch)
treeb03d7fa01a0b2ef772c2770e2db99bc8aa69c768 /logic/minecraft/ModList.cpp
parent4fbcb3efb90368c084946600afdca05ca7c65519 (diff)
downloadMultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.tar
MultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.tar.gz
MultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.tar.lz
MultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.tar.xz
MultiMC-44db72ead568fe7ce22e1999aac02fd9aac9beea.zip
GH-93 add an option to not copy saves on instance copy
Diffstat (limited to 'logic/minecraft/ModList.cpp')
-rw-r--r--logic/minecraft/ModList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/ModList.cpp b/logic/minecraft/ModList.cpp
index 60f8b012..07affb72 100644
--- a/logic/minecraft/ModList.cpp
+++ b/logic/minecraft/ModList.cpp
@@ -286,7 +286,7 @@ bool ModList::installMod(const QFileInfo &filename, int index)
QString from = filename.filePath();
QString to = FS::PathCombine(m_dir.path(), filename.fileName());
- if (!FS::copyPath(from, to))
+ if (!FS::copy(from, to)())
return false;
m.repath(to);
beginInsertRows(QModelIndex(), index, index);