aboutsummaryrefslogtreecommitdiff
path: root/launcher/pages/global
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/pages/global')
-rw-r--r--launcher/pages/global/AccountListPage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/pages/global/AccountListPage.cpp b/launcher/pages/global/AccountListPage.cpp
index d71b942e..45b778de 100644
--- a/launcher/pages/global/AccountListPage.cpp
+++ b/launcher/pages/global/AccountListPage.cpp
@@ -72,9 +72,9 @@ AccountListPage::AccountListPage(QWidget *parent)
// Xbox authentication won't work without a client identifier, so disable the button
// if the build didn't specify one (GH-4012)
- if (BuildConfig.MSA_CLIENT_ID.isEmpty()) {
- ui->actionAddMicrosoft->setVisible(false);
- }
+#ifndef EMBED_SECRETS
+ ui->actionAddMicrosoft->setVisible(false);
+#endif
}
AccountListPage::~AccountListPage()