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

Method getTasks

launcher/ui/dialogs/ResourceDownloadDialog.cpp:242–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242const QList<ResourceDownloadDialog::DownloadTaskPtr> ResourceDownloadDialog::getTasks()
243{
244 QList<DownloadTaskPtr> selected;
245 for (auto page : m_container->getPages()) {
246 auto res = static_cast<ResourcePage*>(page);
247 selected.append(res->selectedPacks());
248 }
249 return selected;
250}
251
252void ResourceDownloadDialog::selectedPageChanged(BasePage* previous, BasePage* selected)
253{

Callers

nothing calls this directly

Calls 3

appendMethod · 0.80
getPagesMethod · 0.45
selectedPacksMethod · 0.45

Tested by

no test coverage detected