GH-1178 sanitize mod paths while installing folder mods
This commit is contained in:
parent
c64a7940c1
commit
7670d72bd9
4 changed files with 15 additions and 10 deletions
|
@ -142,7 +142,7 @@ void ModFolderPage::on_addModBtn_clicked()
|
|||
m_mods->stopWatching();
|
||||
for (auto filename : list)
|
||||
{
|
||||
m_mods->installMod(QFileInfo(filename));
|
||||
m_mods->installMod(filename);
|
||||
}
|
||||
m_mods->startWatching();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue