MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / getLinkedInstancesById

Method getLinkedInstancesById

launcher/InstanceList.cpp:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142QStringList InstanceList::getLinkedInstancesById(const QString& id) const
143{
144 QStringList linkedInstances;
145 for (auto inst : m_instances) {
146 if (inst->isLinkedToInstanceId(id))
147 linkedInstances.append(inst->id());
148 }
149 return linkedInstances;
150}
151
152int InstanceList::rowCount(const QModelIndex& parent) const
153{

Callers 1

Calls 3

isLinkedToInstanceIdMethod · 0.80
appendMethod · 0.80
idMethod · 0.45

Tested by

no test coverage detected