| 252 | } |
| 253 | |
| 254 | void 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 | |
| 262 | void YACReaderNavigationController::loadEmptyFolderInfo(const QModelIndex &modelIndex) |
| 263 | { |
nothing calls this directly
no test coverage detected