aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-12 20:20:51 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-02-12 21:27:32 +0100
commit0854e83ce48cb30b28bd05986970e506c1106e4e (patch)
tree96c708b11b854a9eaffd59f80faece8f9366ca66 /launcher/ui
parentbb02226870a21c08ec534295ea0dcb8dd4c542cf (diff)
downloadPrismLauncher-0854e83ce48cb30b28bd05986970e506c1106e4e.tar.gz
PrismLauncher-0854e83ce48cb30b28bd05986970e506c1106e4e.tar.bz2
PrismLauncher-0854e83ce48cb30b28bd05986970e506c1106e4e.zip
feat: implement MSA client id override
Closes #11
Diffstat (limited to 'launcher/ui')
-rw-r--r--launcher/ui/pages/global/AccountListPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp
index 396d320f..ea310acd 100644
--- a/launcher/ui/pages/global/AccountListPage.cpp
+++ b/launcher/ui/pages/global/AccountListPage.cpp
@@ -73,7 +73,7 @@ AccountListPage::AccountListPage(QWidget *parent)
updateButtonStates();
// Xbox authentication won't work without a client identifier, so disable the button if it is missing
- ui->actionAddMicrosoft->setVisible(BuildConfig.MSA_CLIENT_ID.size() != 0);
+ ui->actionAddMicrosoft->setVisible(!APPLICATION->getMSAClientID().isEmpty());
}
AccountListPage::~AccountListPage()