| 842 | } |
| 843 | |
| 844 | MOBase::IModInterface* ModList::getMod(const QString& name) const |
| 845 | { |
| 846 | unsigned int index = ModInfo::getIndex(name); |
| 847 | return index == UINT_MAX ? nullptr : ModInfo::getByIndex(index).data(); |
| 848 | } |
| 849 | |
| 850 | bool ModList::removeMod(MOBase::IModInterface* mod) |
| 851 | { |
no test coverage detected