| 30 | } |
| 31 | |
| 32 | void YACReaderComicsSelectionHelper::deselectIndex(int index) |
| 33 | { |
| 34 | if (_selectionModel != nullptr && model != nullptr) { |
| 35 | _selectionModel->select(model->index(index, 0), QItemSelectionModel::Deselect | QItemSelectionModel::Rows); |
| 36 | |
| 37 | emit selectionChanged(); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | bool YACReaderComicsSelectionHelper::isSelectedIndex(int index) const |
| 42 | { |