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
|
@ -77,7 +77,7 @@ public:
|
|||
/**
|
||||
* Adds the given mod to the list at the given index - if the list supports custom ordering
|
||||
*/
|
||||
virtual bool installMod(const QFileInfo &filename, int index = 0);
|
||||
virtual bool installMod(const QString & filename, int index = 0);
|
||||
|
||||
/// Deletes the mod at the given index.
|
||||
virtual bool deleteMod(int index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue