From aa44561e86b6520ee0ab10a58db52b6fdd77d991 Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Sun, 11 Jan 2026 17:31:26 +0100 Subject: Change IOrganizer::profile return type to a shared_ptr (#2322) --- src/modlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modlist.cpp') 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); QStringList res; -- cgit v1.3.1