summaryrefslogtreecommitdiff
path: root/src/modlistviewactions.h
diff options
context:
space:
mode:
authorAl <26797547+Al12rs@users.noreply.github.com>2021-01-16 23:06:04 +0100
committerGitHub <noreply@github.com>2021-01-16 23:06:04 +0100
commit2b1f01cba2a50a17db69187a1b4cbecf5a0fb65d (patch)
tree4853e003773aea7abe9ebbe9d893ec0758bdc190 /src/modlistviewactions.h
parent19556bc968334d8b5526ed300e537c5f6a9a5117 (diff)
parentf46962686a0648abe06bea699365740546107a70 (diff)
Merge pull request #1363 from Holt59/modlist-improvements
Send to last conflict
Diffstat (limited to 'src/modlistviewactions.h')
-rw-r--r--src/modlistviewactions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modlistviewactions.h b/src/modlistviewactions.h
index c3f06a48..3c225fbc 100644
--- a/src/modlistviewactions.h
+++ b/src/modlistviewactions.h
@@ -66,6 +66,8 @@ 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
//
@@ -148,6 +150,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;