mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
added settings to the options dialog for configuring the background image in grid view
This commit is contained in:
@ -135,9 +135,9 @@ void LibraryWindow::setupUI()
|
||||
createActions();
|
||||
doModels();
|
||||
|
||||
doDialogs();
|
||||
doLayout();
|
||||
createToolBars();
|
||||
doDialogs();
|
||||
createMenus();
|
||||
|
||||
navigationController = new YACReaderNavigationController(this);
|
||||
@ -245,6 +245,7 @@ void LibraryWindow::doLayout()
|
||||
//comicsViewStack->setCurrentIndex(Flow);
|
||||
} else {
|
||||
comicsView = gridComicsView = new GridComicsView();
|
||||
connect(optionsDialog, SIGNAL(optionsChanged()), gridComicsView, SLOT(updateBackgroundConfig()));
|
||||
comicsViewStatus = Grid;
|
||||
//comicsViewStack->setCurrentIndex(Grid);
|
||||
}
|
||||
@ -2256,6 +2257,7 @@ void LibraryWindow::toggleComicsView_delayed()
|
||||
libraryToolBar->updateViewSelectorIcon(icoViewsButton);
|
||||
#endif
|
||||
switchToComicsView(classicComicsView, gridComicsView = new GridComicsView());
|
||||
connect(optionsDialog, SIGNAL(optionsChanged()), gridComicsView, SLOT(updateBackgroundConfig()));
|
||||
comicsViewStatus = Grid;
|
||||
}
|
||||
else{
|
||||
|
Reference in New Issue
Block a user