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

Method visitModPages

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

Source from the content-addressed store, hash-verified

371}
372
373void ModFolderPage::visitModPages()
374{
375 auto selection = m_filterModel->mapSelectionToSource(ui->treeView->selectionModel()->selection()).indexes();
376 for (auto mod : m_model->selectedMods(selection)) {
377 auto url = mod->metaurl();
378 if (!url.isEmpty())
379 DesktopServices::openUrl(url);
380 }
381}
382
383void ModFolderPage::deleteModMetadata()
384{

Callers

nothing calls this directly

Calls 4

openUrlFunction · 0.85
selectedModsMethod · 0.80
metaurlMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected