GH-1178 sanitize mod paths while installing folder mods

This commit is contained in:
Petr Mrázek 2015-12-26 03:20:41 +01:00
parent c64a7940c1
commit 7670d72bd9
4 changed files with 15 additions and 10 deletions

View file

@ -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);