aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-05-29 21:18:34 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-07-08 16:25:03 +0200
commit4103948132636fcb01daa866f107259a821419dd (patch)
tree03a4c9a4da41018829c2744f799829b390a69f3b /launcher/ui/pages
parent906f26698b73f3868939d3f66e6e639ac2da2263 (diff)
downloadPrismLauncher-4103948132636fcb01daa866f107259a821419dd.tar.gz
PrismLauncher-4103948132636fcb01daa866f107259a821419dd.tar.bz2
PrismLauncher-4103948132636fcb01daa866f107259a821419dd.zip
feat: track capabilities of application
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/ui/pages')
-rw-r--r--launcher/ui/pages/global/AccountListPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp
index a608771e..b7216883 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->getMSAClientID().isEmpty()) {
+ if (APPLICATION->currentCapabilities() & Application::SupportsMSA) {
ui->actionAddMicrosoft->setVisible(false);
ui->actionAddMicrosoft->setToolTip(tr("No Microsoft Authentication client ID was set."));
}