aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-12 20:30:42 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-02-12 21:27:35 +0100
commit159d868b77e6962632e925caf80a347122203d27 (patch)
tree36010432882e45ea9047c1fb3a9ea42021e0485a /launcher
parent0854e83ce48cb30b28bd05986970e506c1106e4e (diff)
downloadPrismLauncher-159d868b77e6962632e925caf80a347122203d27.tar.gz
PrismLauncher-159d868b77e6962632e925caf80a347122203d27.tar.bz2
PrismLauncher-159d868b77e6962632e925caf80a347122203d27.zip
fix(ui): explain why 'Add Microsoft' might be disabled
Diffstat (limited to 'launcher')
-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 ea310acd..740697a4 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(!APPLICATION->getMSAClientID().isEmpty());
+ if (APPLICATION->getMSAClientID().isEmpty()) {
+ ui->actionAddMicrosoft->setVisible(false);
+ ui->actionAddMicrosoft->setToolTip(tr("No Microsoft Secured Account client ID was set."));
+ }
}
AccountListPage::~AccountListPage()