MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / setProgress

Method setProgress

launcher/tasks/Task.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void Task::setProgress(qint64 current, qint64 total)
66{
67 if ((m_progress != current) || (m_progressTotal != total)) {
68 m_progress = current;
69 m_progressTotal = total;
70
71 emit progress(m_progress, m_progressTotal);
72 }
73}
74
75void Task::start()
76{

Callers 3

downloadTranslationMethod · 0.80
getDownloadActionMethod · 0.80
test_SetProgressMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_SetProgressMethod · 0.64