MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / selectedMods

Method selectedMods

launcher/minecraft/mod/ModFolderModel.cpp:230–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230auto ModFolderModel::selectedMods(QModelIndexList& indexes) -> QList<Mod*>
231{
232 QList<Mod*> selected_resources;
233 for (auto i : indexes) {
234 if(i.column() != 0)
235 continue;
236
237 selected_resources.push_back(at(i.row()));
238 }
239 return selected_resources;
240}
241
242auto ModFolderModel::allMods() -> QList<Mod*>
243{

Callers 3

updateModsMethod · 0.80
disableUpdatesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected