NOISSUE Import page is now a MultiMC pack page
This commit is contained in:
		@@ -36,7 +36,7 @@
 | 
			
		||||
#include <pages/modplatform/VanillaPage.h>
 | 
			
		||||
#include <pages/modplatform/FTBPage.h>
 | 
			
		||||
#include <pages/modplatform/TwitchPage.h>
 | 
			
		||||
#include <pages/modplatform/ImportPage.h>
 | 
			
		||||
#include <pages/modplatform/MultiMCPage.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 ImportPage(this);
 | 
			
		||||
    importPage = new MultiMCPage(this);
 | 
			
		||||
    return
 | 
			
		||||
    {
 | 
			
		||||
        new VanillaPage(this),
 | 
			
		||||
        new FTBPage(this),
 | 
			
		||||
        importPage,
 | 
			
		||||
        new TwitchPage(this),
 | 
			
		||||
        new FTBPage(this),
 | 
			
		||||
        new TechnicPage(this)
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -28,7 +28,7 @@ class NewInstanceDialog;
 | 
			
		||||
 | 
			
		||||
class PageContainer;
 | 
			
		||||
class QDialogButtonBox;
 | 
			
		||||
class ImportPage;
 | 
			
		||||
class MultiMCPage;
 | 
			
		||||
 | 
			
		||||
class NewInstanceDialog : public QDialog, public BasePageProvider
 | 
			
		||||
{
 | 
			
		||||
@@ -66,7 +66,7 @@ private:
 | 
			
		||||
    QDialogButtonBox * m_buttons = nullptr;
 | 
			
		||||
 | 
			
		||||
    QString InstIconKey;
 | 
			
		||||
    ImportPage *importPage = nullptr;
 | 
			
		||||
    MultiMCPage *importPage = nullptr;
 | 
			
		||||
    std::unique_ptr<InstanceTask> creationTask;
 | 
			
		||||
 | 
			
		||||
    bool importIcon = false;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user