diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-10-13 01:59:25 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-10-21 00:47:53 +0200 |
commit | 441ab7eedcb8fe120a7f934684ed5545cdd7a4b6 (patch) | |
tree | 5a1a93e871f5172b3f087e9eb04bf6918bd34ec7 /launcher/setupwizard | |
parent | 6a4130c9149deb029b496c81e3b874ad834c54b7 (diff) | |
download | PrismLauncher-441ab7eedcb8fe120a7f934684ed5545cdd7a4b6.tar.gz PrismLauncher-441ab7eedcb8fe120a7f934684ed5545cdd7a4b6.tar.bz2 PrismLauncher-441ab7eedcb8fe120a7f934684ed5545cdd7a4b6.zip |
NOISSUE debranding for real, initial work
This is probably very broken on macOS and Windows and will need a lot of work to complete fully.
Diffstat (limited to 'launcher/setupwizard')
-rw-r--r-- | launcher/setupwizard/AnalyticsWizardPage.cpp | 6 | ||||
-rw-r--r-- | launcher/setupwizard/JavaWizardPage.cpp | 6 | ||||
-rw-r--r-- | launcher/setupwizard/LanguageWizardPage.cpp | 6 | ||||
-rw-r--r-- | launcher/setupwizard/SetupWizard.cpp | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/launcher/setupwizard/AnalyticsWizardPage.cpp b/launcher/setupwizard/AnalyticsWizardPage.cpp index 4fb0bcca..3ecc034c 100644 --- a/launcher/setupwizard/AnalyticsWizardPage.cpp +++ b/launcher/setupwizard/AnalyticsWizardPage.cpp @@ -1,5 +1,5 @@ #include "AnalyticsWizardPage.h" -#include <MultiMC.h> +#include <Launcher.h> #include <QVBoxLayout> #include <QTextBrowser> @@ -33,8 +33,8 @@ AnalyticsWizardPage::~AnalyticsWizardPage() bool AnalyticsWizardPage::validatePage() { - auto settings = MMC->settings(); - auto analytics = MMC->analytics(); + auto settings = LAUNCHER->settings(); + auto analytics = LAUNCHER->analytics(); auto status = checkBox->isChecked(); settings->set("AnalyticsSeen", analytics->version()); settings->set("Analytics", status); diff --git a/launcher/setupwizard/JavaWizardPage.cpp b/launcher/setupwizard/JavaWizardPage.cpp index ad571c09..a60090ce 100644 --- a/launcher/setupwizard/JavaWizardPage.cpp +++ b/launcher/setupwizard/JavaWizardPage.cpp @@ -1,5 +1,5 @@ #include "JavaWizardPage.h" -#include <MultiMC.h> +#include <Launcher.h> #include <QVBoxLayout> #include <QGroupBox> @@ -55,7 +55,7 @@ bool JavaWizardPage::wantsRefreshButton() bool JavaWizardPage::validatePage() { - auto settings = MMC->settings(); + auto settings = LAUNCHER->settings(); auto result = m_java_widget->validate(); switch(result) { @@ -71,7 +71,7 @@ bool JavaWizardPage::validatePage() case JavaSettingsWidget::ValidationStatus::JavaBad: { // Memory - auto s = MMC->settings(); + auto s = LAUNCHER->settings(); s->set("MinMemAlloc", m_java_widget->minHeapSize()); s->set("MaxMemAlloc", m_java_widget->maxHeapSize()); if (m_java_widget->permGenEnabled()) diff --git a/launcher/setupwizard/LanguageWizardPage.cpp b/launcher/setupwizard/LanguageWizardPage.cpp index ca93c6f5..6a5fd737 100644 --- a/launcher/setupwizard/LanguageWizardPage.cpp +++ b/launcher/setupwizard/LanguageWizardPage.cpp @@ -1,5 +1,5 @@ #include "LanguageWizardPage.h" -#include <MultiMC.h> +#include <Launcher.h> #include <translations/TranslationsModel.h> #include "widgets/LanguageSelectionWidget.h" @@ -28,13 +28,13 @@ bool LanguageWizardPage::wantsRefreshButton() void LanguageWizardPage::refresh() { - auto translations = MMC->translations(); + auto translations = LAUNCHER->translations(); translations->downloadIndex(); } bool LanguageWizardPage::validatePage() { - auto settings = MMC->settings(); + auto settings = LAUNCHER->settings(); QString key = mainWidget->getSelectedLanguageKey(); settings->set("Language", key); return true; diff --git a/launcher/setupwizard/SetupWizard.cpp b/launcher/setupwizard/SetupWizard.cpp index 60a78b8d..31334924 100644 --- a/launcher/setupwizard/SetupWizard.cpp +++ b/launcher/setupwizard/SetupWizard.cpp @@ -5,7 +5,7 @@ #include "AnalyticsWizardPage.h" #include "translations/TranslationsModel.h" -#include <MultiMC.h> +#include <Launcher.h> #include <FileSystem.h> #include <ganalytics.h> |