| 240 | } |
| 241 | |
| 242 | const 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 | |
| 252 | void ResourceDownloadDialog::selectedPageChanged(BasePage* previous, BasePage* selected) |
| 253 | { |
nothing calls this directly
no test coverage detected