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

Method downloadFinished

launcher/minecraft/services/SkinDelete.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void SkinDelete::downloadFinished()
73{
74 // if the download failed
75 if (m_reply->error() != QNetworkReply::NetworkError::NoError)
76 {
77 emitFailed(QString("Network error: %1").arg(m_reply->errorString()));
78 m_reply.reset();
79 return;
80 }
81 emitSucceeded();
82}
83

Callers

nothing calls this directly

Calls 3

QStringClass · 0.85
errorMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected