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

Method executeTask

launcher/MMCZip.cpp:458–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456
457#if defined(LAUNCHER_APPLICATION)
458void ExportToZipTask::executeTask()
459{
460 setStatus("Adding files...");
461 setProgress(0, m_files.length());
462 m_build_zip_future = QtConcurrent::run(QThreadPool::globalInstance(), [this]() { return exportZip(); });
463 connect(&m_build_zip_watcher, &QFutureWatcher<ZipResult>::finished, this, &ExportToZipTask::finish);
464 m_build_zip_watcher.setFuture(m_build_zip_future);
465}
466
467auto ExportToZipTask::exportZip() -> ZipResult
468{

Callers

nothing calls this directly

Calls 2

runFunction · 0.85
openMethod · 0.80

Tested by

no test coverage detected