diff options
author | glowiak <52356948+glowiak@users.noreply.github.com> | 2022-02-16 18:36:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 18:36:28 +0100 |
commit | 45f89c625533b7e65b70aab1d96ae6eddcbe9051 (patch) | |
tree | 546fcf5723ead2d0d793c490d15d53f50c4e8c9c /launcher/ui/pages/global/AccountListPage.cpp | |
parent | b1cf77e84780ce8b88599cde2e878a21019365d9 (diff) | |
parent | 2cd837896dc66344b53141325d76bcb045036abf (diff) | |
download | PrismLauncher-45f89c625533b7e65b70aab1d96ae6eddcbe9051.tar.gz PrismLauncher-45f89c625533b7e65b70aab1d96ae6eddcbe9051.tar.bz2 PrismLauncher-45f89c625533b7e65b70aab1d96ae6eddcbe9051.zip |
Merge branch 'develop' into patch-1
Diffstat (limited to 'launcher/ui/pages/global/AccountListPage.cpp')
-rw-r--r-- | launcher/ui/pages/global/AccountListPage.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp index 396d320f..eb1ee8d3 100644 --- a/launcher/ui/pages/global/AccountListPage.cpp +++ b/launcher/ui/pages/global/AccountListPage.cpp @@ -73,7 +73,10 @@ 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); + if (APPLICATION->getMSAClientID().isEmpty()) { + ui->actionAddMicrosoft->setVisible(false); + ui->actionAddMicrosoft->setToolTip(tr("No Microsoft Authentication client ID was set.")); + } } AccountListPage::~AccountListPage() |