aboutsummaryrefslogtreecommitdiff
path: root/launcher/pages/modplatform/ftb
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-10-13 01:59:25 +0200
committerPetr Mrázek <peterix@gmail.com>2021-10-21 00:47:53 +0200
commit441ab7eedcb8fe120a7f934684ed5545cdd7a4b6 (patch)
tree5a1a93e871f5172b3f087e9eb04bf6918bd34ec7 /launcher/pages/modplatform/ftb
parent6a4130c9149deb029b496c81e3b874ad834c54b7 (diff)
downloadPrismLauncher-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/pages/modplatform/ftb')
-rw-r--r--launcher/pages/modplatform/ftb/FtbListModel.cpp4
-rw-r--r--launcher/pages/modplatform/ftb/FtbPage.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/launcher/pages/modplatform/ftb/FtbListModel.cpp b/launcher/pages/modplatform/ftb/FtbListModel.cpp
index 98973f2e..7da4c066 100644
--- a/launcher/pages/modplatform/ftb/FtbListModel.cpp
+++ b/launcher/pages/modplatform/ftb/FtbListModel.cpp
@@ -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()) {
diff --git a/launcher/pages/modplatform/ftb/FtbPage.h b/launcher/pages/modplatform/ftb/FtbPage.h
index c9c93897..da121913 100644
--- a/launcher/pages/modplatform/ftb/FtbPage.h
+++ b/launcher/pages/modplatform/ftb/FtbPage.h
@@ -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
{