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