aboutsummaryrefslogtreecommitdiff
path: root/launcher/pages/global/AccountListPage.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-08-27 22:35:17 +0200
committerPetr Mrázek <peterix@gmail.com>2021-08-27 22:35:17 +0200
commitb2c1100b1c3a1eb64152eba7aafac6493b2f7ff0 (patch)
treeb021f6227a1780009d886fe15c11ea715173e6dd /launcher/pages/global/AccountListPage.cpp
parent34a5459dcef1adb7eb355bb0f940eb212173857f (diff)
downloadPrismLauncher-b2c1100b1c3a1eb64152eba7aafac6493b2f7ff0.tar.gz
PrismLauncher-b2c1100b1c3a1eb64152eba7aafac6493b2f7ff0.tar.bz2
PrismLauncher-b2c1100b1c3a1eb64152eba7aafac6493b2f7ff0.zip
NOISSUE introduce the concept of secrets static library
Diffstat (limited to 'launcher/pages/global/AccountListPage.cpp')
-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()