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

Method abort

launcher/net/Upload.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44namespace Net {
45
46 bool Upload::abort()
47 {
48 if (m_reply) {
49 m_reply->abort();
50 } else {
51 m_state = State::AbortedByUser;
52 }
53 return true;
54 }
55
56 void Upload::downloadProgress(qint64 bytesReceived, qint64 bytesTotal) {
57 setProgress(bytesReceived, bytesTotal);

Callers 1

downloadFinishedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected