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/GuiUtil.cpp | |
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/GuiUtil.cpp')
-rw-r--r-- | launcher/GuiUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/GuiUtil.cpp b/launcher/GuiUtil.cpp index 302206f5..3dd31c7a 100644 --- a/launcher/GuiUtil.cpp +++ b/launcher/GuiUtil.cpp @@ -8,7 +8,7 @@ #include "net/PasteUpload.h" #include "dialogs/CustomMessageBox.h" -#include "MultiMC.h" +#include "Launcher.h" #include <settings/SettingsObject.h> #include <DesktopServices.h> #include <BuildConfig.h> @@ -16,7 +16,7 @@ QString GuiUtil::uploadPaste(const QString &text, QWidget *parentWidget) { ProgressDialog dialog(parentWidget); - auto APIKeySetting = MMC->settings()->get("PasteEEAPIKey").toString(); + auto APIKeySetting = LAUNCHER->settings()->get("PasteEEAPIKey").toString(); if(APIKeySetting == "multimc") { APIKeySetting = BuildConfig.PASTE_EE_KEY; |