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

@ -2,7 +2,7 @@
#include "BuildConfig.h"
#include "Env.h"
#include "MultiMC.h"
#include "Launcher.h"
#include "Json.h"
#include <QPainter>
@ -46,7 +46,7 @@ QVariant ListModel::data(const QModelIndex &index, int role) const
}
else if(role == Qt::DecorationRole)
{
QIcon placeholder = MMC->getThemedIcon("screenshot-placeholder");
QIcon placeholder = LAUNCHER->getThemedIcon("screenshot-placeholder");
auto iter = m_logoMap.find(pack.name);
if (iter != m_logoMap.end()) {

View File

@ -20,7 +20,7 @@
#include <QWidget>
#include "MultiMC.h"
#include "Launcher.h"
#include "pages/BasePage.h"
#include "tasks/Task.h"
@ -44,7 +44,7 @@ public:
}
virtual QIcon icon() const override
{
return MMC->getThemedIcon("ftb_logo");
return LAUNCHER->getThemedIcon("ftb_logo");
}
virtual QString id() const override
{