MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / setMod

Method setMod

src/modinfodialog.cpp:297–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297void ModInfoDialog::setMod(ModInfo::Ptr mod)
298{
299 Q_ASSERT(mod);
300 m_mod = mod;
301
302 // resetting the first activation flag so selecting tabs will trigger it
303 // again
304 for (auto& tabInfo : m_tabs) {
305 tabInfo.tab->resetFirstActivation();
306 }
307}
308
309void ModInfoDialog::setMod(const QString& name)
310{

Callers 1

updateTabsMethod · 0.45

Calls 1

resetFirstActivationMethod · 0.80

Tested by

no test coverage detected