summaryrefslogtreecommitdiff
path: root/src/modlistviewactions.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-18 20:23:41 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-18 20:23:41 +0100
commit5bc8256dc8a861451213288187c0eaf0713be494 (patch)
treeb22a02a485ff80f1332c510b69cc070a5f00d401 /src/modlistviewactions.h
parent792a402782f979c2fe5747d30b8faffb054a4c26 (diff)
Make installMod behave similarly to createEmptyMod for the new mod priority.
Diffstat (limited to 'src/modlistviewactions.h')
-rw-r--r--src/modlistviewactions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modlistviewactions.h b/src/modlistviewactions.h
index 069bb1e6..429c37b6 100644
--- a/src/modlistviewactions.h
+++ b/src/modlistviewactions.h
@@ -134,6 +134,11 @@ signals:
private:
+ // find the priority where to install or create a mod for the
+ // given index (e.g. above, below, inside separator or at the end)
+ //
+ int findInstallPriority(const QModelIndex& current) const;
+
// move the contents of the overwrite to the given path
//
void moveOverwriteContentsTo(const QString& absolutePath) const;