| 875 | } |
| 876 | |
| 877 | void MainScreen::doRestore(size_t rawIdx, size_t cellIndex) |
| 878 | { |
| 879 | Title title; |
| 880 | TitleCatalog::get().getTitle(title, g_currentUId, rawIdx); |
| 881 | std::string name = nameFromCell(cellIndex); |
| 882 | std::string src = title.fullPath(cellIndex) + "/"; |
| 883 | removeOverlay(); |
| 884 | |
| 885 | TransferJob::get().enqueueRestore(std::move(title), std::move(src), i18n::t("main.restore_success", {name})); |
| 886 | } |
| 887 | |
| 888 | void MainScreen::requestRestoreSelected(void) |
| 889 | { |
nothing calls this directly
no test coverage detected