| 171 | } |
| 172 | |
| 173 | bool 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 | |
| 184 | void ModFolderPage::removeItems(const QItemSelection& selection) |
| 185 | { |
nothing calls this directly
no test coverage detected