| 131 | } |
| 132 | |
| 133 | bool ModFolderPage::onSelectionChanged(const QModelIndex& current, const QModelIndex& previous) |
| 134 | { |
| 135 | auto sourceCurrent = m_filterModel->mapToSource(current); |
| 136 | int row = sourceCurrent.row(); |
| 137 | Mod const* m = m_model->at(row); |
| 138 | if (m) |
| 139 | ui->frame->updateWithMod(*m); |
| 140 | |
| 141 | return true; |
| 142 | } |
| 143 | |
| 144 | void ModFolderPage::removeItem() |
| 145 | { |
nothing calls this directly
no test coverage detected