MCPcopy Create free account
hub / github.com/YACReader/yacreader / moveDownCL

Method moveDownCL

YACReaderLibrary/comic_vine/sort_volume_comics.cpp:212–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212void SortVolumeComics::moveDownCL()
213{
214 QList<QModelIndex> selection = tableFiles->selectionModel()->selectedIndexes();
215
216 if (selection.count() > 0) {
217 localComicsModel->moveSelectionDown(selection);
218
219 selection = tableFiles->selectionModel()->selectedIndexes();
220 tableFiles->scrollTo(selection.last());
221 }
222}
223
224void SortVolumeComics::moveUpIL()
225{

Callers

nothing calls this directly

Calls 4

selectedIndexesMethod · 0.80
moveSelectionDownMethod · 0.80
selectionModelMethod · 0.45
scrollToMethod · 0.45

Tested by

no test coverage detected