diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-13 13:00:54 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-13 13:00:54 +0100 |
| commit | c93cf33c8324052b321fc0428c394016abcee115 (patch) | |
| tree | 52280bbb9f687c3aebff2becf038eca49d6f846f /src/organizercore.cpp | |
| parent | 163b33f22817fda6ead29de8f9d9624434766be9 (diff) | |
Remove OrganizerCore::modsSortedByProfilePriority.
Diffstat (limited to 'src/organizercore.cpp')
| -rw-r--r-- | src/organizercore.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp index 3d730c23..bbf6029b 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -1016,22 +1016,6 @@ ModList *OrganizerCore::modList() return &m_ModList; } -QStringList OrganizerCore::modsSortedByProfilePriority(Profile *profile) const -{ - QStringList res; - for (int i = profile->getPriorityMinimum(); - i < profile->getPriorityMinimum() + (int)profile->numRegularMods(); - ++i) { - int modIndex = profile->modIndexByPriority(i); - auto modInfo = ModInfo::getByIndex(modIndex); - if (!modInfo->hasFlag(ModInfo::FLAG_OVERWRITE) && - !modInfo->hasFlag(ModInfo::FLAG_BACKUP)) { - res.push_back(ModInfo::getByIndex(modIndex)->internalName()); - } - } - return res; -} - bool OrganizerCore::previewFileWithAlternatives( QWidget* parent, QString fileName, int selectedOrigin) { |
