| 550 | } |
| 551 | |
| 552 | void PluginList::addLootReport(const QString& name, Loot::Plugin plugin) |
| 553 | { |
| 554 | auto iter = m_ESPsByName.find(name); |
| 555 | |
| 556 | if (iter != m_ESPsByName.end()) { |
| 557 | m_AdditionalInfo[name].loot = std::move(plugin); |
| 558 | } else { |
| 559 | log::warn("failed to associate loot report for \"{}\"", name); |
| 560 | } |
| 561 | } |
| 562 | |
| 563 | bool PluginList::isEnabled(int index) |
| 564 | { |
no test coverage detected