simplify constructor

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-06-14 16:40:27 +03:00
parent 863ebe421c
commit 9d16557328
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -89,7 +89,7 @@ MSAStep::MSAStep(AccountData* data, bool silent) : AuthStep(data), m_silent(sile
QFile::exists(FS::PathCombine(APPLICATION->root(), "portable.txt")) || !isSchemeHandlerRegistered()) QFile::exists(FS::PathCombine(APPLICATION->root(), "portable.txt")) || !isSchemeHandlerRegistered())
{ {
auto replyHandler = new QOAuthHttpServerReplyHandler(0, this); auto replyHandler = new QOAuthHttpServerReplyHandler(this);
replyHandler->setCallbackText(R"XXX( replyHandler->setCallbackText(R"XXX(
<noscript> <noscript>
<meta http-equiv="Refresh" content="0; URL=https://prismlauncher.org/successful-login" /> <meta http-equiv="Refresh" content="0; URL=https://prismlauncher.org/successful-login" />