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

Method addTask

launcher/tasks/ConcurrentTask.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void ConcurrentTask::addTask(Task::Ptr task)
29{
30 if (!isRunning())
31 m_queue.append(task);
32 else
33 qWarning() << "Tried to add a task to a running concurrent task!";
34}
35
36void ConcurrentTask::executeTask()
37{

Callers 13

EnsureMetadataTaskMethod · 0.80
executeTaskMethod · 0.80
installModsMethod · 0.80
updateModsMethod · 0.80
on_buttonBox_acceptedMethod · 0.80
checkCandidatesMethod · 0.80
ensureMetadataMethod · 0.80
onMetadataFailedMethod · 0.80

Calls 1

appendMethod · 0.80

Tested by 4