summaryrefslogtreecommitdiffstats
path: root/application/InstancePageProvider.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-07-27 23:57:09 +0200
committerPetr Mrázek <peterix@gmail.com>2018-07-27 23:57:09 +0200
commite4c33458f2f752c0b8f20005b5ab645e758d58cc (patch)
tree17d1dcbf5643e37c2298977e7f503848127abfc6 /application/InstancePageProvider.h
parent14f85813c82f9202d39e292965b1ab710a479d4e (diff)
downloadMultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.tar
MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.tar.gz
MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.tar.lz
MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.tar.xz
MultiMC-e4c33458f2f752c0b8f20005b5ab645e758d58cc.zip
GH-2352 Add Minecraft folder button for instances, rearrange buttons by importance
Diffstat (limited to 'application/InstancePageProvider.h')
-rw-r--r--application/InstancePageProvider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/InstancePageProvider.h b/application/InstancePageProvider.h
index c5dd0919..94013101 100644
--- a/application/InstancePageProvider.h
+++ b/application/InstancePageProvider.h
@@ -51,7 +51,7 @@ public:
values.append(new NotesPage(onesix.get()));
values.append(new WorldListPage(onesix.get(), onesix->worldList(), "worlds", "worlds", tr("Worlds"), "Worlds"));
values.append(new ServersPage(onesix.get()));
- values.append(new ScreenshotsPage(FS::PathCombine(onesix->minecraftRoot(), "screenshots")));
+ values.append(new ScreenshotsPage(FS::PathCombine(onesix->gameRoot(), "screenshots")));
values.append(new InstanceSettingsPage(onesix.get()));
}
std::shared_ptr<LegacyInstance> legacy = std::dynamic_pointer_cast<LegacyInstance>(inst);
@@ -60,7 +60,7 @@ public:
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")));
+ values.append(new ScreenshotsPage(FS::PathCombine(legacy->gameRoot(), "screenshots")));
}
auto logMatcher = inst->getLogFileMatcher();
if(logMatcher)