| 475 | } |
| 476 | |
| 477 | void LauncherWindow::disabledModSelected(const QString &itemName) |
| 478 | { |
| 479 | UString modName = itemName.toStdString(); |
| 480 | const auto foundMods = enumerateMods(); |
| 481 | for (const auto &mod : foundMods) |
| 482 | { |
| 483 | const auto &modInfo = mod.second; |
| 484 | if (modInfo.getName() == modName) |
| 485 | { |
| 486 | this->showModInfo(modInfo); |
| 487 | this->selectedModName = modName; |
| 488 | return; |
| 489 | } |
| 490 | } |
| 491 | updateAvailableLanguages(); |
| 492 | } |
| 493 | |
| 494 | void LauncherWindow::showModInfo(const ModInfo &info) |
| 495 | { |
nothing calls this directly
no test coverage detected