| 240 | } |
| 241 | |
| 242 | void GridComicsView::setCurrentIndex(const QModelIndex &index) |
| 243 | { |
| 244 | selectionHelper->clear(); |
| 245 | selectionHelper->selectIndex(index.row()); |
| 246 | |
| 247 | if (settings->value(USE_SELECTED_COMIC_COVER_AS_BACKGROUND_IMAGE_IN_GRID_VIEW, false).toBool()) |
| 248 | updateBackgroundConfig(); |
| 249 | |
| 250 | if (showInfoAction->isChecked()) |
| 251 | updateInfoForIndex(index.row()); |
| 252 | } |
| 253 | |
| 254 | void GridComicsView::setCurrentIndex(int index) |
| 255 | { |
nothing calls this directly
no test coverage detected