| 122 | } |
| 123 | |
| 124 | void ListModel::requestModInfo(ModPlatform::IndexedPack& current, QModelIndex index) |
| 125 | { |
| 126 | m_parent->apiProvider()->getModInfo(current, [this, index](QJsonDocument& doc, ModPlatform::IndexedPack& pack) { |
| 127 | if (!s_running.constFind(this).value()) |
| 128 | return; |
| 129 | infoRequestFinished(doc, pack, index); |
| 130 | }); |
| 131 | } |
| 132 | |
| 133 | void ListModel::refresh() |
| 134 | { |
no test coverage detected