diff --git a/launcher/core/src/squarelauncher.cpp b/launcher/core/src/squarelauncher.cpp index 78bbfd6..77e3f55 100644 --- a/launcher/core/src/squarelauncher.cpp +++ b/launcher/core/src/squarelauncher.cpp @@ -181,7 +181,7 @@ void SquareLauncher::registerSession(const LoginInformation& info) { } auto reply = window.mgr->post(request, report.toUtf8()); - connect(reply, &QNetworkReply::finished, [&] { + connect(reply, &QNetworkReply::finished, [=, &info] { if(reply->rawHeaderList().contains("X-Patch-Unique-Id")) { auth.SID = reply->rawHeader("X-Patch-Unique-Id");