mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 06:54:39 -04:00
New feature: open next/previous comic automatically after reaching end/cover for the current comic
issue #4 https://bitbucket.org/luisangelsm/yacreader/issue/2/auto-advance-to-next-comic
This commit is contained in:
@ -121,6 +121,10 @@ void MainWindowViewer::setupUI()
|
||||
|
||||
viewer = new Viewer(this);
|
||||
connect(viewer,SIGNAL(reset()),this,SLOT(disableActions()));
|
||||
//detected end of comic
|
||||
connect(viewer,SIGNAL(openNextComic()),this,SLOT(openNextComic()));
|
||||
//detected start of comic
|
||||
connect(viewer,SIGNAL(openPreviousComic()),this,SLOT(openPreviousComic()));
|
||||
|
||||
setCentralWidget(viewer);
|
||||
int heightDesktopResolution = QApplication::desktop()->screenGeometry().height();
|
||||
|
Reference in New Issue
Block a user