| 458 | } |
| 459 | |
| 460 | void LauncherWindow::enabledModSelected(const QString &itemName) |
| 461 | { |
| 462 | UString modName = itemName.toStdString(); |
| 463 | const auto foundMods = enumerateMods(); |
| 464 | for (const auto &mod : foundMods) |
| 465 | { |
| 466 | const auto &modInfo = mod.second; |
| 467 | if (modInfo.getName() == modName) |
| 468 | { |
| 469 | this->showModInfo(modInfo); |
| 470 | this->selectedModName = modName; |
| 471 | return; |
| 472 | } |
| 473 | } |
| 474 | updateAvailableLanguages(); |
| 475 | } |
| 476 | |
| 477 | void LauncherWindow::disabledModSelected(const QString &itemName) |
| 478 | { |
nothing calls this directly
no test coverage detected