| 114 | } |
| 115 | |
| 116 | void ListModel::performPaginatedSearch() |
| 117 | { |
| 118 | auto profile = (dynamic_cast<MinecraftInstance*>((dynamic_cast<ModPage*>(parent()))->m_instance))->getPackProfile(); |
| 119 | |
| 120 | m_parent->apiProvider()->searchMods( |
| 121 | this, { nextSearchOffset, currentSearchTerm, getSorts()[currentSort], profile->getModLoaders(), getMineVersions() }); |
| 122 | } |
| 123 | |
| 124 | void ListModel::requestModInfo(ModPlatform::IndexedPack& current, QModelIndex index) |
| 125 | { |
nothing calls this directly
no test coverage detected