| 295 | } |
| 296 | |
| 297 | void 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 | |
| 309 | void ModInfoDialog::setMod(const QString& name) |
| 310 | { |
no test coverage detected