| 813 | } |
| 814 | |
| 815 | void ModListViewActions::ignoreMissingData(const QModelIndexList& indices) const |
| 816 | { |
| 817 | for (auto& idx : indices) { |
| 818 | int row_idx = idx.data(ModList::IndexRole).toInt(); |
| 819 | ModInfo::Ptr info = ModInfo::getByIndex(row_idx); |
| 820 | info->markValidated(true); |
| 821 | m_core.modList()->notifyChange(row_idx); |
| 822 | } |
| 823 | } |
| 824 | |
| 825 | void ModListViewActions::setIgnoreUpdate(const QModelIndexList& indices, |
| 826 | bool ignore) const |
no test coverage detected