summaryrefslogtreecommitdiffstats
path: root/logic/LegacyInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-28 17:07:08 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-28 17:07:08 +0200
commite8731c5d013e67ee0153d5a49b38b0e914d14aa0 (patch)
treeab3611681ec35ea8f10aa7b9a7770c1356b3ef22 /logic/LegacyInstance.cpp
parent30b1f5e5cf935689fc628e37016e650655153d00 (diff)
downloadMultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar
MultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar.gz
MultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar.lz
MultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.tar.xz
MultiMC-e8731c5d013e67ee0153d5a49b38b0e914d14aa0.zip
Turn screenshot management into a page.
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r--logic/LegacyInstance.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp
index 4b856b0d..dd6c0719 100644
--- a/logic/LegacyInstance.cpp
+++ b/logic/LegacyInstance.cpp
@@ -34,6 +34,7 @@
#include <gui/pages/TexturePackPage.h>
#include <gui/pages/InstanceSettingsPage.h>
#include <gui/pages/NotesPage.h>
+#include <gui/pages/ScreenshotsPage.h>
LegacyInstance::LegacyInstance(const QString &rootDir, SettingsObject *settings,
QObject *parent)
@@ -57,6 +58,7 @@ QList<BasePage *> LegacyInstance::getPages()
"Core-mods"));
values.append(new TexturePackPage(this));
values.append(new NotesPage(this));
+ values.append(new ScreenshotsPage(this));
values.append(new InstanceSettingsPage(&settings()));
return values;
}