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/editexecutablesdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/editexecutablesdialog.cpp') diff --git a/src/editexecutablesdialog.cpp b/src/editexecutablesdialog.cpp index f4a602c3..73fc8de7 100644 --- a/src/editexecutablesdialog.cpp +++ b/src/editexecutablesdialog.cpp @@ -139,7 +139,7 @@ int EditExecutablesDialog::exec() void EditExecutablesDialog::loadCustomOverwrites() { - const auto* p = m_organizerCore.currentProfile(); + const auto p = m_organizerCore.currentProfile(); for (const auto& e : m_executablesList) { const auto s = p->setting("custom_overwrites", e.title()).toString(); @@ -152,7 +152,7 @@ void EditExecutablesDialog::loadCustomOverwrites() void EditExecutablesDialog::loadForcedLibraries() { - const auto* p = m_organizerCore.currentProfile(); + const auto p = m_organizerCore.currentProfile(); for (const auto& e : m_executablesList) { m_forcedLibraries.set(e.title(), p->forcedLibrariesEnabled(e.title()), @@ -237,7 +237,7 @@ bool EditExecutablesDialog::commitChanges() return false; } - auto* profile = m_organizerCore.currentProfile(); + auto profile = m_organizerCore.currentProfile(); // remove all the custom overwrites and forced libraries for (const auto& e : m_originalExecutables) { -- cgit v1.3.1