MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / finish

Method finish

launcher/minecraft/auth/AuthRequest.cpp:155–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void AuthRequest::finish() {
156 QByteArray data;
157 if (status_ == Idle) {
158 qWarning() << "AuthRequest::finish: No pending request";
159 return;
160 }
161 data = reply_->readAll();
162 status_ = Idle;
163 timedReplies_.remove(reply_);
164 reply_->disconnect(this);
165 reply_->deleteLater();
166 QList<QNetworkReply::RawHeaderPair> headers = reply_->rawHeaderPairs();
167 emit finished(error_, data, headers);
168}

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected