aboutsummaryrefslogtreecommitdiff
path: root/launcher/pages/modplatform/legacy_ftb
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/pages/modplatform/legacy_ftb')
-rw-r--r--launcher/pages/modplatform/legacy_ftb/ListModel.cpp4
-rw-r--r--launcher/pages/modplatform/legacy_ftb/Page.cpp2
-rw-r--r--launcher/pages/modplatform/legacy_ftb/Page.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/launcher/pages/modplatform/legacy_ftb/ListModel.cpp b/launcher/pages/modplatform/legacy_ftb/ListModel.cpp
index 32596fb3..78063c5f 100644
--- a/launcher/pages/modplatform/legacy_ftb/ListModel.cpp
+++ b/launcher/pages/modplatform/legacy_ftb/ListModel.cpp
@@ -1,5 +1,5 @@
#include "ListModel.h"
-#include "MultiMC.h"
+#include "Launcher.h"
#include <MMCStrings.h>
#include <Version.h>
@@ -130,7 +130,7 @@ QVariant ListModel::data(const QModelIndex &index, int role) const
{
return (m_logoMap.value(pack.logo));
}
- QIcon icon = MMC->getThemedIcon("screenshot-placeholder");
+ QIcon icon = LAUNCHER->getThemedIcon("screenshot-placeholder");
((ListModel *)this)->requestLogo(pack.logo);
return icon;
}
diff --git a/launcher/pages/modplatform/legacy_ftb/Page.cpp b/launcher/pages/modplatform/legacy_ftb/Page.cpp
index a438f76c..6b6a7dcd 100644
--- a/launcher/pages/modplatform/legacy_ftb/Page.cpp
+++ b/launcher/pages/modplatform/legacy_ftb/Page.cpp
@@ -3,7 +3,7 @@
#include <QInputDialog>
-#include "MultiMC.h"
+#include "Launcher.h"
#include "dialogs/CustomMessageBox.h"
#include "dialogs/NewInstanceDialog.h"
#include "modplatform/legacy_ftb/PackFetchTask.h"
diff --git a/launcher/pages/modplatform/legacy_ftb/Page.h b/launcher/pages/modplatform/legacy_ftb/Page.h
index e840216e..6159cd9d 100644
--- a/launcher/pages/modplatform/legacy_ftb/Page.h
+++ b/launcher/pages/modplatform/legacy_ftb/Page.h
@@ -20,7 +20,7 @@
#include <QTextBrowser>
#include "pages/BasePage.h"
-#include <MultiMC.h>
+#include <Launcher.h>
#include "tasks/Task.h"
#include "modplatform/legacy_ftb/PackHelpers.h"
#include "modplatform/legacy_ftb/PackFetchTask.h"
@@ -54,7 +54,7 @@ public:
}
QIcon icon() const override
{
- return MMC->getThemedIcon("ftb_logo");
+ return LAUNCHER->getThemedIcon("ftb_logo");
}
QString id() const override
{