GH-93 add an option to not copy saves on instance copy
This commit is contained in:
parent
4fbcb3efb9
commit
44db72ead5
10 changed files with 138 additions and 60 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue