diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-12-01 02:17:27 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-12-28 21:39:09 +0100 |
commit | 476d64184145e6b745b9b56fe2ea6f5f65f91dae (patch) | |
tree | 4a59a191e58f960181ce3520b38d04604f600f2a /application/MultiMC.cpp | |
parent | 374710a87ba421c1ab982c616aa09545a95b6800 (diff) | |
download | MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.tar MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.tar.gz MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.tar.lz MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.tar.xz MultiMC-476d64184145e6b745b9b56fe2ea6f5f65f91dae.zip |
NOISSUE add skeleton of the setup wizard
Very wizardly. Also very empty and opening on every start for now.
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r-- | application/MultiMC.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index 49c1d2c4..f176a64b 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -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); |