diff options
Diffstat (limited to 'src/organizercore.h')
| -rw-r--r-- | src/organizercore.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/organizercore.h b/src/organizercore.h index 22c4f19a..80f340b6 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -270,7 +270,8 @@ public: m_ExecutablesList = executablesList; } - Profile* currentProfile() const { return m_CurrentProfile.get(); } + std::shared_ptr<Profile> currentProfile() const { return m_CurrentProfile; } + void setCurrentProfile(const QString& profileName); QStringList profileNames() const; @@ -540,7 +541,7 @@ private: MOBase::IPluginGame* m_GamePlugin; ModDataContentHolder m_Contents; - std::unique_ptr<Profile> m_CurrentProfile; + std::shared_ptr<Profile> m_CurrentProfile; Settings& m_Settings; |
