diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-12 20:30:42 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-12 21:27:35 +0100 |
commit | 159d868b77e6962632e925caf80a347122203d27 (patch) | |
tree | 36010432882e45ea9047c1fb3a9ea42021e0485a /launcher | |
parent | 0854e83ce48cb30b28bd05986970e506c1106e4e (diff) | |
download | PrismLauncher-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.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 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() |