Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
void Task::setProgress(qint64 current, qint64 total)
55
{
56
m_progress = current;
57
m_progressTotal = total;
58
emit progress(m_progress, m_progressTotal);
59
}
60
61
void Task::start()
62
{
Callers
3
downloadTranslation
Method · 0.80
getDownloadAction
Method · 0.80
test_SetProgress
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_SetProgress
Method · 0.64