summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp16
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)
{