summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
authorJonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>2026-01-11 17:31:26 +0100
committerGitHub <noreply@github.com>2026-01-11 17:31:26 +0100
commitaa44561e86b6520ee0ab10a58db52b6fdd77d991 (patch)
tree0437239c99bb71d08b74bd590aee7cd019a412d1 /src/modlist.cpp
parent717b5ac389ea15350d32f813a3f03d908de0ab06 (diff)
Change IOrganizer::profile return type to a shared_ptr (#2322)
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index d3552c73..4ff3654c 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -832,7 +832,7 @@ QStringList ModList::allMods() const
QStringList ModList::allModsByProfilePriority(MOBase::IProfile* profile) const
{
- Profile* mo2Profile = profile == nullptr ? m_Organizer->currentProfile()
+ Profile* mo2Profile = profile == nullptr ? m_Organizer->currentProfile().get()
: static_cast<Profile*>(profile);
QStringList res;