diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-08-04 22:57:16 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-08-04 22:57:16 +0200 |
commit | 6ec2652b4562119ccf45d3bc455ef865fdfbd3ce (patch) | |
tree | 908d1d7155c68b7960ea14b5d1e7803ecf97e0b3 /api/logic/minecraft/ModList.h | |
parent | eec87db86a8a00db0a9145a3b17c53408f7b1f5b (diff) | |
download | MultiMC-6ec2652b4562119ccf45d3bc455ef865fdfbd3ce.tar MultiMC-6ec2652b4562119ccf45d3bc455ef865fdfbd3ce.tar.gz MultiMC-6ec2652b4562119ccf45d3bc455ef865fdfbd3ce.tar.lz MultiMC-6ec2652b4562119ccf45d3bc455ef865fdfbd3ce.tar.xz MultiMC-6ec2652b4562119ccf45d3bc455ef865fdfbd3ce.zip |
GH-1273 allow extended selection in mod lists
Diffstat (limited to 'api/logic/minecraft/ModList.h')
-rw-r--r-- | api/logic/minecraft/ModList.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/api/logic/minecraft/ModList.h b/api/logic/minecraft/ModList.h index 24dcdaa4..14b102e1 100644 --- a/api/logic/minecraft/ModList.h +++ b/api/logic/minecraft/ModList.h @@ -83,14 +83,8 @@ public: */ bool installMod(const QString& filename); - /// Deletes the mod at the given index. - virtual bool deleteMod(int index); - - /// Deletes all the selected mods - virtual bool deleteMods(int first, int last); - /// Deletes all the selected mods - virtual bool deleteMods(const QVector<int> &indexes); + virtual bool deleteMods(const QModelIndexList &indexes); void startWatching(); void stopWatching(); |