summaryrefslogtreecommitdiff
path: root/src/modlistviewactions.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-16 15:55:56 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-16 15:55:56 +0100
commit89a735d6e11b8339b5b350d15ddd8fbfdf7998f5 (patch)
tree364ce83427e503e5c1f07bb48a192c72599d8248 /src/modlistviewactions.h
parent56d039274776078cfff0565cf66fbb0b4852f90e (diff)
Maintain selection after 'Send to... ' and add send to first conflict.
Diffstat (limited to 'src/modlistviewactions.h')
-rw-r--r--src/modlistviewactions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modlistviewactions.h b/src/modlistviewactions.h
index 153d0d2b..a3ae1b1a 100644
--- a/src/modlistviewactions.h
+++ b/src/modlistviewactions.h
@@ -62,6 +62,7 @@ public:
void sendModsToBottom(const QModelIndexList& index) const;
void sendModsToPriority(const QModelIndexList& index) const;
void sendModsToSeparator(const QModelIndexList& index) const;
+ void sendModsToFirstConflict(const QModelIndexList& index) const;
void sendModsToLastConflict(const QModelIndexList& index) const;
// actions for most regular mods
@@ -145,6 +146,11 @@ private:
//
void checkModsForUpdates(std::multimap<QString, int> const& IDs) const;
+ // set the priorities of the given mods while maintaining the
+ // mod list selection (which may be different from the list of mods)
+ //
+ void setModsPriority(const QModelIndexList& indexes, int priority) const;
+
private:
OrganizerCore& m_core;