From 9d16557328b936d23a9e999ab9127d346ecba261 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Fri, 14 Jun 2024 16:40:27 +0300 Subject: [PATCH] simplify constructor Signed-off-by: Trial97 --- launcher/minecraft/auth/steps/MSAStep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/minecraft/auth/steps/MSAStep.cpp b/launcher/minecraft/auth/steps/MSAStep.cpp index 2b8a02186..8899b224b 100644 --- a/launcher/minecraft/auth/steps/MSAStep.cpp +++ b/launcher/minecraft/auth/steps/MSAStep.cpp @@ -89,7 +89,7 @@ MSAStep::MSAStep(AccountData* data, bool silent) : AuthStep(data), m_silent(sile QFile::exists(FS::PathCombine(APPLICATION->root(), "portable.txt")) || !isSchemeHandlerRegistered()) { - auto replyHandler = new QOAuthHttpServerReplyHandler(0, this); + auto replyHandler = new QOAuthHttpServerReplyHandler(this); replyHandler->setCallbackText(R"XXX(