diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-20 21:01:49 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-20 21:01:49 +0100 |
| commit | 0e7fed0e32cf7cd6ff342493621287e0040e51ad (patch) | |
| tree | 891ddb263815453233577517522230df1f1ab23f /src/modlist.cpp | |
| parent | 946d7fc192d47b542e048d9ec72e65ad982eb09c (diff) | |
Move backup and overwrite priority to ModList.
Diffstat (limited to 'src/modlist.cpp')
| -rw-r--r-- | src/modlist.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index 4518f2e9..073dbfd3 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -337,10 +337,10 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const } else if (column == COL_PRIORITY) { if (modInfo->isBackup()) { - return ModInfo::BACKUP_PRIORITY; + return BACKUP_PRIORITY; } else if (modInfo->isOverwrite()) { - return ModInfo::OVERWRITE_PRIORITY; + return OVERWRITE_PRIORITY; } else { return m_Profile->getModPriority(modIndex); @@ -367,10 +367,10 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const } else if (role == PriorityRole) { if (modInfo->isBackup()) { - return ModInfo::BACKUP_PRIORITY; + return BACKUP_PRIORITY; } else if (modInfo->isOverwrite()) { - return ModInfo::OVERWRITE_PRIORITY; + return OVERWRITE_PRIORITY; } else { return m_Profile->getModPriority(modIndex); |
