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

Method updateTableView

YACReaderLibrary/classic_comics_view.cpp:352–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352void ClassicComicsView::updateTableView(int i)
353{
354 if (model == nullptr) {
355 return;
356 }
357
358 QModelIndex mi = model->index(i, 2);
359 tableView->setCurrentIndex(mi);
360 tableView->scrollTo(mi, QAbstractItemView::EnsureVisible);
361}
362
363void ClassicComicsView::saveTableHeadersStatus()
364{

Callers

nothing calls this directly

Calls 3

indexMethod · 0.45
setCurrentIndexMethod · 0.45
scrollToMethod · 0.45

Tested by

no test coverage detected