MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / abort

Method abort

launcher/net/NetRequest.cpp:375–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375auto NetRequest::abort() -> bool
376{
377 m_state = State::AbortedByUser;
378 if (m_reply) {
379 disconnect(m_reply.get(), &QNetworkReply::errorOccurred, nullptr, nullptr);
380 m_reply->abort();
381 }
382 return true;
383}
384
385int NetRequest::replyStatusCode() const
386{

Callers 1

downloadFinishedMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected