From 792a402782f979c2fe5747d30b8faffb054a4c26 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Mon, 18 Jan 2021 20:05:13 +0100 Subject: Modify 'Install mod... ' in context menu to install above current mod. --- src/modlistviewactions.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modlistviewactions.h') diff --git a/src/modlistviewactions.h b/src/modlistviewactions.h index 3c225fbc..069bb1e6 100644 --- a/src/modlistviewactions.h +++ b/src/modlistviewactions.h @@ -31,9 +31,10 @@ public: PluginListView* pluginView, QObject* nxmReceiver); - // install the mod from the given archive + // install the mod from the given archive before "above" the mod with + // the given index // - void installMod(const QString& archivePath = "") const; + void installMod(const QString& archivePath = "", const QModelIndex& index = QModelIndex()) const; // create an empty mod/a separator before the given mod or at // the end of the list if the index is invalid -- cgit v1.3.1