| 21 | } |
| 22 | |
| 23 | void YACReaderComicsSelectionHelper::selectIndex(int index) |
| 24 | { |
| 25 | if (_selectionModel != nullptr && model != nullptr) { |
| 26 | _selectionModel->select(model->index(index, 0), QItemSelectionModel::Select | QItemSelectionModel::Rows); |
| 27 | |
| 28 | emit selectionChanged(); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | void YACReaderComicsSelectionHelper::deselectIndex(int index) |
| 33 | { |
no test coverage detected