mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Add comment
This commit is contained in:
parent
87de6525d4
commit
c40e915541
@ -271,6 +271,7 @@ void YACReaderNavigationController::loadPreviousStatus()
|
|||||||
|
|
||||||
void YACReaderNavigationController::setupConnections()
|
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::currentIndexChanged, this, &YACReaderNavigationController::selectedFolder);
|
||||||
connect(libraryWindow->foldersView, &YACReaderTreeView::clicked, this, &YACReaderNavigationController::selectedFolder);
|
connect(libraryWindow->foldersView, &YACReaderTreeView::clicked, this, &YACReaderNavigationController::selectedFolder);
|
||||||
connect(libraryWindow->listsView, &QAbstractItemView::clicked, this, &YACReaderNavigationController::selectedList);
|
connect(libraryWindow->listsView, &QAbstractItemView::clicked, this, &YACReaderNavigationController::selectedList);
|
||||||
|
Loading…
Reference in New Issue
Block a user