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

Method getInstanceIndexById

launcher/InstanceList.cpp:551–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551QModelIndex InstanceList::getInstanceIndexById(const QString &id) const
552{
553 return index(getInstIndex(getInstanceById(id).get()));
554}
555
556int InstanceList::getInstIndex(BaseInstance* inst) const
557{

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected