Revert "NOISSUE Import page is now a MultiMC pack page"

This reverts commit f74e3db804f2fb3d73cbf7ab5fbdb12ecea0f259.
This commit is contained in:
Petr Mrázek
2019-07-09 21:51:19 +02:00
parent 48b2f95129
commit 739a86f171
10 changed files with 64 additions and 59 deletions

View File

@ -36,7 +36,7 @@
#include <pages/modplatform/VanillaPage.h>
#include <pages/modplatform/FTBPage.h>
#include <pages/modplatform/TwitchPage.h>
#include <pages/modplatform/MultiMCPage.h>
#include <pages/modplatform/ImportPage.h>
#include <pages/modplatform/TechnicPage.h>
NewInstanceDialog::NewInstanceDialog(const QString & initialGroup, const QString & url, QWidget *parent)
@ -118,13 +118,13 @@ void NewInstanceDialog::accept()
QList<BasePage *> NewInstanceDialog::getPages()
{
importPage = new MultiMCPage(this);
importPage = new ImportPage(this);
return
{
new VanillaPage(this),
new FTBPage(this),
importPage,
new TwitchPage(this),
new FTBPage(this),
new TechnicPage(this)
};
}

View File

@ -28,7 +28,7 @@ class NewInstanceDialog;
class PageContainer;
class QDialogButtonBox;
class MultiMCPage;
class ImportPage;
class NewInstanceDialog : public QDialog, public BasePageProvider
{
@ -66,7 +66,7 @@ private:
QDialogButtonBox * m_buttons = nullptr;
QString InstIconKey;
MultiMCPage *importPage = nullptr;
ImportPage *importPage = nullptr;
std::unique_ptr<InstanceTask> creationTask;
bool importIcon = false;