diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-04 11:23:09 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-08 16:25:03 +0200 |
commit | 87cbff391c28d78a5be3d96a0fd58e224d2ed72e (patch) | |
tree | 146acff16ac4b4cf8eac582e014b147b15ed7168 | |
parent | 962923bbcecc096f52ca40ffe48382e05b553720 (diff) | |
download | PrismLauncher-87cbff391c28d78a5be3d96a0fd58e224d2ed72e.tar.gz PrismLauncher-87cbff391c28d78a5be3d96a0fd58e224d2ed72e.tar.bz2 PrismLauncher-87cbff391c28d78a5be3d96a0fd58e224d2ed72e.zip |
fix: disable MSA login if it is NOT supported
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
-rw-r--r-- | launcher/ui/pages/global/AccountListPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp index b7216883..fcc43add 100644 --- a/launcher/ui/pages/global/AccountListPage.cpp +++ b/launcher/ui/pages/global/AccountListPage.cpp @@ -96,7 +96,7 @@ AccountListPage::AccountListPage(QWidget *parent) updateButtonStates(); // Xbox authentication won't work without a client identifier, so disable the button if it is missing - if (APPLICATION->currentCapabilities() & Application::SupportsMSA) { + if (~APPLICATION->currentCapabilities() & Application::SupportsMSA) { ui->actionAddMicrosoft->setVisible(false); ui->actionAddMicrosoft->setToolTip(tr("No Microsoft Authentication client ID was set.")); } |