aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/global/AccountListPage.cpp
diff options
context:
space:
mode:
authorglowiak <52356948+glowiak@users.noreply.github.com>2022-02-16 18:36:28 +0100
committerGitHub <noreply@github.com>2022-02-16 18:36:28 +0100
commit45f89c625533b7e65b70aab1d96ae6eddcbe9051 (patch)
tree546fcf5723ead2d0d793c490d15d53f50c4e8c9c /launcher/ui/pages/global/AccountListPage.cpp
parentb1cf77e84780ce8b88599cde2e878a21019365d9 (diff)
parent2cd837896dc66344b53141325d76bcb045036abf (diff)
downloadPrismLauncher-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.cpp5
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()