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/modlistview.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modlistview.cpp') diff --git a/src/modlistview.cpp b/src/modlistview.cpp index 6091021b..7389c3a2 100644 --- a/src/modlistview.cpp +++ b/src/modlistview.cpp @@ -735,7 +735,8 @@ void ModListView::setup(OrganizerCore& core, CategoryFactory& factory, MainWindo }); // proxy for various group by - m_byPriorityProxy = new ModListByPriorityProxy(core.currentProfile(), core, this); + m_byPriorityProxy = + new ModListByPriorityProxy(core.currentProfile().get(), core, this); m_byCategoryProxy = new QtGroupingProxy(QModelIndex(), ModList::COL_CATEGORY, ModList::GroupingRole, 0, ModList::AggrRole); m_byNexusIdProxy = new QtGroupingProxy( @@ -758,7 +759,7 @@ void ModListView::setup(OrganizerCore& core, CategoryFactory& factory, MainWindo }); // the top-level proxy - m_sortProxy = new ModListSortProxy(core.currentProfile(), &core); + m_sortProxy = new ModListSortProxy(core.currentProfile().get(), &core); setModel(m_sortProxy); connect(m_sortProxy, &ModList::modelReset, [=] { refreshExpandedItems(); -- cgit v1.3.1