NOISSUE add skeleton of the setup wizard
Very wizardly. Also very empty and opening on every start for now.
This commit is contained in:
@ -17,6 +17,8 @@
|
||||
#include "themes/BrightTheme.h"
|
||||
#include "themes/CustomTheme.h"
|
||||
|
||||
#include "setupwizard/SetupWizard.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
@ -318,6 +320,13 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
|
||||
|
||||
initAnalytics();
|
||||
|
||||
if(SetupWizard::isRequired())
|
||||
{
|
||||
m_setupWizard = new SetupWizard(nullptr);
|
||||
int result = m_setupWizard->exec();
|
||||
qDebug() << "Wizard result =" << result;
|
||||
}
|
||||
|
||||
if(!m_instanceIdToLaunch.isEmpty())
|
||||
{
|
||||
auto inst = instances()->getInstanceById(m_instanceIdToLaunch);
|
||||
|
Reference in New Issue
Block a user