Add comment

This commit is contained in:
Luis Ángel San Martín Rodríguez 2022-10-12 19:40:50 +02:00
parent 87de6525d4
commit c40e915541

View File

@ -271,6 +271,7 @@ void YACReaderNavigationController::loadPreviousStatus()
void YACReaderNavigationController::setupConnections()
{
// we need YACReaderTreeView::currentIndexChanged to be able to navigate the folders tree using the keyboard cursors
connect(libraryWindow->foldersView, &YACReaderTreeView::currentIndexChanged, this, &YACReaderNavigationController::selectedFolder);
connect(libraryWindow->foldersView, &YACReaderTreeView::clicked, this, &YACReaderNavigationController::selectedFolder);
connect(libraryWindow->listsView, &QAbstractItemView::clicked, this, &YACReaderNavigationController::selectedList);