diff options
author | Petr Mrázek <peterix@users.noreply.github.com> | 2020-10-13 21:44:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 21:44:20 +0200 |
commit | 4c62776044f3a7ad9efa3150ebec6150070502ed (patch) | |
tree | 81945f562b0970888b0c037bcacb95b0a8a95f0e /application/dialogs/NewInstanceDialog.cpp | |
parent | 762ddaea6578d552dabaffefd7ea6942776f3eff (diff) | |
parent | 8021fb25d0778bbc88bbfa052fcf2572807ee0f5 (diff) | |
download | PrismLauncher-4c62776044f3a7ad9efa3150ebec6150070502ed.tar.gz PrismLauncher-4c62776044f3a7ad9efa3150ebec6150070502ed.tar.bz2 PrismLauncher-4c62776044f3a7ad9efa3150ebec6150070502ed.zip |
Merge pull request #3195 from kb-1000/technic-import
Technic pack import
Diffstat (limited to 'application/dialogs/NewInstanceDialog.cpp')
-rw-r--r-- | application/dialogs/NewInstanceDialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/application/dialogs/NewInstanceDialog.cpp b/application/dialogs/NewInstanceDialog.cpp index d8abdbd4..c2887b01 100644 --- a/application/dialogs/NewInstanceDialog.cpp +++ b/application/dialogs/NewInstanceDialog.cpp @@ -1,4 +1,4 @@ -/* Copyright 2013-2019 MultiMC Contributors +/* Copyright 2013-2020 MultiMC Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,8 @@ #include <pages/modplatform/legacy_ftb/Page.h> #include <pages/modplatform/twitch/TwitchPage.h> #include <pages/modplatform/ImportPage.h> +#include <pages/modplatform/technic/TechnicPage.h> + NewInstanceDialog::NewInstanceDialog(const QString & initialGroup, const QString & url, QWidget *parent) @@ -122,12 +124,14 @@ QList<BasePage *> NewInstanceDialog::getPages() { importPage = new ImportPage(this); twitchPage = new TwitchPage(this); + auto technicPage = new TechnicPage(this); return { new VanillaPage(this), importPage, new FtbPage(this), new LegacyFTB::Page(this), + technicPage, twitchPage }; } |