From 0a069709900fe37c265d8645554ae19e25bea06a Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Thu, 21 Jan 2021 20:21:57 +0100 Subject: Expose proper priority in ModList and sort in the sort proxy. --- src/modlist.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/modlist.h') diff --git a/src/modlist.h b/src/modlist.h index 68316613..e201de27 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -335,21 +335,6 @@ signals: private: - // the priority of backups and overwrite for sorting (and display, although - // those are not displayed), these do not correspond to the actual priority - // in the mod list - // - static constexpr int BACKUP_PRIORITY = -1; - static constexpr int OVERWRITE_PRIORITY = std::numeric_limits::max(); - - // retrieve the priority of a mod for the purpose of display (i.e. sorting - // or grouping) - // - // this can be different from the priority in the profile (e.g. for backups - // or overwrite) - // - int modPriority(unsigned int index) const; - // retrieve the display name of a mod or convert from a user-provided // name to internal name // -- cgit v1.3.1