We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e690e20 commit bf79556Copy full SHA for bf79556
1 file changed
launcher/minecraft/auth/steps/MSAStep.cpp
@@ -114,8 +114,8 @@ class LoggingOAuthHttpServerReplyHandler final : public QOAuthHttpServerReplyHan
114
MSAStep::MSAStep(AccountData* data, bool silent) : AuthStep(data), m_silent(silent)
115
{
116
m_clientId = APPLICATION->getMSAClientID();
117
- if (true || QCoreApplication::applicationFilePath().startsWith("/tmp/.mount_") || APPLICATION->isPortable() ||
118
- !isSchemeHandlerRegistered())
+ if constexpr (true || QCoreApplication::applicationFilePath().startsWith("/tmp/.mount_") || APPLICATION->isPortable() ||
+ !isSchemeHandlerRegistered())
119
120
121
auto replyHandler = new LoggingOAuthHttpServerReplyHandler(this);
0 commit comments