NOISSUE implement LEgacy instance migration

This commit is contained in:
Petr Mrázek
2017-09-26 13:38:34 +02:00
parent eac892965e
commit 2b998bb8cc
9 changed files with 179 additions and 62 deletions

View File

@ -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")));