MCPcopy Create free account
hub / github.com/MultiMC/Launcher / getInstanceIndexById

Method getInstanceIndexById

launcher/InstanceList.cpp:509–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509QModelIndex InstanceList::getInstanceIndexById(const QString &id) const
510{
511 return index(getInstIndex(getInstanceById(id).get()));
512}
513
514int InstanceList::getInstIndex(BaseInstance *inst) const
515{

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected