diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-18 20:05:13 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-18 20:05:13 +0100 |
| commit | 792a402782f979c2fe5747d30b8faffb054a4c26 (patch) | |
| tree | b79922a015644aff9a17751b1c2c836f62d34da2 /src/modlistviewactions.h | |
| parent | 59f055ba93381b965cdc04557ac1dce2df36bd07 (diff) | |
Modify 'Install mod... ' in context menu to install above current mod.
Diffstat (limited to 'src/modlistviewactions.h')
| -rw-r--r-- | src/modlistviewactions.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
