diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-12 20:20:51 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-12 21:27:32 +0100 |
commit | 0854e83ce48cb30b28bd05986970e506c1106e4e (patch) | |
tree | 96c708b11b854a9eaffd59f80faece8f9366ca66 /launcher/ui | |
parent | bb02226870a21c08ec534295ea0dcb8dd4c542cf (diff) | |
download | PrismLauncher-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.cpp | 2 |
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() |