| 251 | } |
| 252 | |
| 253 | const QList<ResourceDownloadDialog::DownloadTaskPtr> ResourceDownloadDialog::getTasks() |
| 254 | { |
| 255 | QList<DownloadTaskPtr> selected; |
| 256 | for (auto page : m_container->getPages()) { |
| 257 | auto res = static_cast<ResourcePage*>(page); |
| 258 | selected.append(res->selectedPacks()); |
| 259 | } |
| 260 | return selected; |
| 261 | } |
| 262 | |
| 263 | void ResourceDownloadDialog::selectedPageChanged(BasePage* previous, BasePage* selected) |
| 264 | { |
nothing calls this directly
no test coverage detected