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

Method setProgress

launcher/tasks/Task.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void Task::setProgress(qint64 current, qint64 total)
55{
56 m_progress = current;
57 m_progressTotal = total;
58 emit progress(m_progress, m_progressTotal);
59}
60
61void Task::start()
62{

Callers 3

downloadTranslationMethod · 0.80
getDownloadActionMethod · 0.80
test_SetProgressMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_SetProgressMethod · 0.64