diff options
author | swirl <swurl@swurl.xyz> | 2022-01-24 19:36:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 19:36:31 -0500 |
commit | 068094583912797855cc7ef8045198d51eedcfac (patch) | |
tree | b5dc3283c04e2ffcfdc305c99da00c5f6edd9581 /launcher/minecraft/auth/AuthRequest.cpp | |
parent | 631e6707754c9a713cf4e50243d1b152eca727a4 (diff) | |
parent | 0235eb5c286413332dcc2f7af8171bd87b61c3c5 (diff) | |
download | PrismLauncher-068094583912797855cc7ef8045198d51eedcfac.tar.gz PrismLauncher-068094583912797855cc7ef8045198d51eedcfac.tar.bz2 PrismLauncher-068094583912797855cc7ef8045198d51eedcfac.zip |
Merge pull request #96 from dada513/develop
rebase with upstream
Diffstat (limited to 'launcher/minecraft/auth/AuthRequest.cpp')
-rw-r--r-- | launcher/minecraft/auth/AuthRequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/auth/AuthRequest.cpp b/launcher/minecraft/auth/AuthRequest.cpp index 459d2354..feface80 100644 --- a/launcher/minecraft/auth/AuthRequest.cpp +++ b/launcher/minecraft/auth/AuthRequest.cpp @@ -44,7 +44,7 @@ void AuthRequest::onRequestFinished() { if (reply_ != qobject_cast<QNetworkReply *>(sender())) { return; } - httpStatus_ = 200; + httpStatus_ = reply_->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); finish(); } |