diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-10-13 01:59:25 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-10-21 00:47:53 +0200 |
commit | 441ab7eedcb8fe120a7f934684ed5545cdd7a4b6 (patch) | |
tree | 5a1a93e871f5172b3f087e9eb04bf6918bd34ec7 /launcher/pages/modplatform/flame | |
parent | 6a4130c9149deb029b496c81e3b874ad834c54b7 (diff) | |
download | PrismLauncher-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/flame')
-rw-r--r-- | launcher/pages/modplatform/flame/FlameModel.cpp | 4 | ||||
-rw-r--r-- | launcher/pages/modplatform/flame/FlamePage.cpp | 2 | ||||
-rw-r--r-- | launcher/pages/modplatform/flame/FlamePage.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/launcher/pages/modplatform/flame/FlameModel.cpp b/launcher/pages/modplatform/flame/FlameModel.cpp index 228a88c5..6dd29d21 100644 --- a/launcher/pages/modplatform/flame/FlameModel.cpp +++ b/launcher/pages/modplatform/flame/FlameModel.cpp @@ -1,5 +1,5 @@ #include "FlameModel.h" -#include "MultiMC.h" +#include "Launcher.h" #include <Json.h> #include <MMCStrings.h> @@ -62,7 +62,7 @@ QVariant ListModel::data(const QModelIndex &index, int role) const { return (m_logoMap.value(pack.logoName)); } - QIcon icon = MMC->getThemedIcon("screenshot-placeholder"); + QIcon icon = LAUNCHER->getThemedIcon("screenshot-placeholder"); ((ListModel *)this)->requestLogo(pack.logoName, pack.logoUrl); return icon; } diff --git a/launcher/pages/modplatform/flame/FlamePage.cpp b/launcher/pages/modplatform/flame/FlamePage.cpp index ade58431..8f798df6 100644 --- a/launcher/pages/modplatform/flame/FlamePage.cpp +++ b/launcher/pages/modplatform/flame/FlamePage.cpp @@ -1,7 +1,7 @@ #include "FlamePage.h" #include "ui_FlamePage.h" -#include "MultiMC.h" +#include "Launcher.h" #include <Json.h> #include "dialogs/NewInstanceDialog.h" #include <InstanceImportTask.h> diff --git a/launcher/pages/modplatform/flame/FlamePage.h b/launcher/pages/modplatform/flame/FlamePage.h index 467bb44b..c3d2630a 100644 --- a/launcher/pages/modplatform/flame/FlamePage.h +++ b/launcher/pages/modplatform/flame/FlamePage.h @@ -18,7 +18,7 @@ #include <QWidget> #include "pages/BasePage.h" -#include <MultiMC.h> +#include <Launcher.h> #include "tasks/Task.h" #include <modplatform/flame/FlamePackIndex.h> @@ -46,7 +46,7 @@ public: } virtual QIcon icon() const override { - return MMC->getThemedIcon("flame"); + return LAUNCHER->getThemedIcon("flame"); } virtual QString id() const override { |