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.
This commit is contained in:
Petr Mrázek
2021-10-13 01:59:25 +02:00
parent 6a4130c914
commit 441ab7eedc
112 changed files with 944 additions and 663 deletions

View File

@@ -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);

View File

@@ -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())

View File

@@ -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;

View File

@@ -5,7 +5,7 @@
#include "AnalyticsWizardPage.h"
#include "translations/TranslationsModel.h"
#include <MultiMC.h>
#include <Launcher.h>
#include <FileSystem.h>
#include <ganalytics.h>