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

Method onSelectionChanged

launcher/ui/pages/instance/ModFolderPage.cpp:173–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173bool ModFolderPage::onSelectionChanged(const QModelIndex& current, [[maybe_unused]] const QModelIndex& previous)
174{
175 auto sourceCurrent = m_filterModel->mapToSource(current);
176 int row = sourceCurrent.row();
177 Mod const* m = m_model->at(row);
178 if (m)
179 ui->frame->updateWithMod(*m);
180
181 return true;
182}
183
184void ModFolderPage::removeItems(const QItemSelection& selection)
185{

Callers

nothing calls this directly

Calls 3

mapToSourceMethod · 0.80
updateWithModMethod · 0.80
atMethod · 0.45

Tested by

no test coverage detected