diff options
| author | Al <26797547+Al12rs@users.noreply.github.com> | 2021-01-16 23:06:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-16 23:06:04 +0100 |
| commit | 2b1f01cba2a50a17db69187a1b4cbecf5a0fb65d (patch) | |
| tree | 4853e003773aea7abe9ebbe9d893ec0758bdc190 /src/modlistviewactions.h | |
| parent | 19556bc968334d8b5526ed300e537c5f6a9a5117 (diff) | |
| parent | f46962686a0648abe06bea699365740546107a70 (diff) | |
Merge pull request #1363 from Holt59/modlist-improvements
Send to last conflict
Diffstat (limited to 'src/modlistviewactions.h')
| -rw-r--r-- | src/modlistviewactions.h | 7 |
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; |
