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

Method downloadFinished

launcher/minecraft/services/SkinUpload.cpp:98–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void SkinUpload::downloadFinished()
99{
100 // if the download failed
101 if (m_reply->error() != QNetworkReply::NetworkError::NoError)
102 {
103 emitFailed(QString("Network error: %1").arg(m_reply->errorString()));
104 m_reply.reset();
105 return;
106 }
107 emitSucceeded();
108}

Callers

nothing calls this directly

Calls 3

QStringClass · 0.85
errorMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected