summaryrefslogtreecommitdiffstats
path: root/application/InstancePageProvider.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/InstancePageProvider.h')
-rw-r--r--application/InstancePageProvider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/InstancePageProvider.h b/application/InstancePageProvider.h
index 1f5a6aef..b13ce93d 100644
--- a/application/InstancePageProvider.h
+++ b/application/InstancePageProvider.h
@@ -49,7 +49,7 @@ public:
std::shared_ptr<LegacyInstance> legacy = std::dynamic_pointer_cast<LegacyInstance>(inst);
if(legacy)
{
- values.append(new LegacyUpgradePage(legacy.get()));
+ values.append(new LegacyUpgradePage(legacy));
values.append(new NotesPage(legacy.get()));
values.append(new WorldListPage(legacy.get(), legacy->worldList(), "worlds", "worlds", tr("Worlds"), "Worlds"));
values.append(new ScreenshotsPage(FS::PathCombine(legacy->minecraftRoot(), "screenshots")));