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

Method selectSubfolder

YACReaderLibrary/yacreader_navigation_controller.cpp:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void YACReaderNavigationController::selectSubfolder(const QModelIndex &sourceMIParent, int child)
255{
256 QModelIndex dest = libraryWindow->foldersModel->index(child, 0, sourceMIParent);
257 libraryWindow->foldersView->setCurrentIndex(libraryWindow->foldersModelProxy->mapFromSource(dest));
258 libraryWindow->historyController->updateHistory(YACReaderLibrarySourceContainer(dest, YACReaderLibrarySourceContainer::Folder));
259 loadFolderInfo(dest);
260}
261
262void YACReaderNavigationController::loadEmptyFolderInfo(const QModelIndex &modelIndex)
263{

Callers

nothing calls this directly

Calls 4

updateHistoryMethod · 0.80
indexMethod · 0.45
setCurrentIndexMethod · 0.45

Tested by

no test coverage detected