summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/ModList.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-12-26 03:20:41 +0100
committerPetr Mrázek <peterix@gmail.com>2015-12-26 03:20:41 +0100
commit7670d72bd9c8bb2adcecd2d04413a2abb9ac174f (patch)
treef02b7cc15ba8ca54f3c404ba542db2cffc841c4c /logic/minecraft/ModList.h
parentc64a7940c1c99f6691d0fdd45910a09808e40d97 (diff)
downloadMultiMC-7670d72bd9c8bb2adcecd2d04413a2abb9ac174f.tar
MultiMC-7670d72bd9c8bb2adcecd2d04413a2abb9ac174f.tar.gz
MultiMC-7670d72bd9c8bb2adcecd2d04413a2abb9ac174f.tar.lz
MultiMC-7670d72bd9c8bb2adcecd2d04413a2abb9ac174f.tar.xz
MultiMC-7670d72bd9c8bb2adcecd2d04413a2abb9ac174f.zip
GH-1178 sanitize mod paths while installing folder mods
Diffstat (limited to 'logic/minecraft/ModList.h')
-rw-r--r--logic/minecraft/ModList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/ModList.h b/logic/minecraft/ModList.h
index 823854ed..05ada8ee 100644
--- a/logic/minecraft/ModList.h
+++ b/logic/minecraft/ModList.h
@@ -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);