fix(ui): explain why 'Add Microsoft' might be disabled

This commit is contained in:
Sefa Eyeoglu 2022-02-12 20:30:42 +01:00
parent 0854e83ce4
commit 159d868b77
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -73,7 +73,10 @@ AccountListPage::AccountListPage(QWidget *parent)
updateButtonStates(); updateButtonStates();
// Xbox authentication won't work without a client identifier, so disable the button if it is missing // 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() AccountListPage::~AccountListPage()