MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / updateFrame

Method updateFrame

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

Source from the content-addressed store, hash-verified

118}
119
120void ModFolderPage::updateFrame(const QModelIndex& current, [[maybe_unused]] const QModelIndex& previous)
121{
122 auto sourceCurrent = m_filterModel->mapToSource(current);
123 int row = sourceCurrent.row();
124 const Mod& mod = m_model->at(row);
125 ui->frame->updateWithMod(mod);
126}
127
128void ModFolderPage::removeItems(const QItemSelection& selection)
129{

Callers

nothing calls this directly

Calls 3

mapToSourceMethod · 0.80
updateWithModMethod · 0.80
atMethod · 0.45

Tested by

no test coverage detected