summaryrefslogtreecommitdiff
path: root/src/moapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/moapplication.h')
-rw-r--r--src/moapplication.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/moapplication.h b/src/moapplication.h
index 498242f3..f3805545 100644
--- a/src/moapplication.h
+++ b/src/moapplication.h
@@ -81,14 +81,14 @@ private:
QString m_defaultStyle;
std::unique_ptr<env::ModuleNotification> m_modules;
- std::unique_ptr<Instance> m_instance;
+ std::shared_ptr<Instance> m_instance;
std::unique_ptr<Settings> m_settings;
std::unique_ptr<NexusInterface> m_nexus;
std::unique_ptr<PluginContainer> m_plugins;
std::unique_ptr<OrganizerCore> m_core;
void externalMessage(const QString& message);
- std::unique_ptr<Instance> getCurrentInstance(bool forceSelect);
+ std::shared_ptr<Instance> getCurrentInstance(bool forceSelect);
std::optional<int> setupInstanceLoop(Instance& currentInstance, PluginContainer& pc);
void purgeOldFiles();
};