MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / disabledModSelected

Method disabledModSelected

tools/launcher/launcherwindow.cpp:477–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477void 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
494void LauncherWindow::showModInfo(const ModInfo &info)
495{

Callers

nothing calls this directly

Calls 3

showModInfoMethod · 0.95
enumerateModsFunction · 0.85
getNameMethod · 0.45

Tested by

no test coverage detected