From 6ec2652b4562119ccf45d3bc455ef865fdfbd3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 4 Aug 2016 22:57:16 +0200 Subject: GH-1273 allow extended selection in mod lists --- api/logic/minecraft/ModList.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'api/logic/minecraft/ModList.h') 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 &indexes); + virtual bool deleteMods(const QModelIndexList &indexes); void startWatching(); void stopWatching(); -- cgit v1.2.3