summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 45fe5220..14f85ac0 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -138,10 +138,10 @@ OrganizerCore::OrganizerCore(Settings &settings)
connect(this, &OrganizerCore::managedGameChanged, [this](IPluginGame const* gamePlugin) {
ModDataContent* contentFeature = gamePlugin->feature<ModDataContent>();
if (contentFeature) {
- m_Contents = contentFeature->getAllContents();
+ m_Contents = ModDataContentHolder(contentFeature->getAllContents());
}
else {
- m_Contents = {};
+ m_Contents = ModDataContentHolder();
}
});