mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
GoTo flows: Untangle and refactor goTo signal to new syntax
This commit is contained in:
@ -24,7 +24,7 @@ GoToFlowGL::GoToFlowGL(QWidget *parent, FlowType flowType)
|
||||
connect(flow, &YACReaderFlowGL::centerIndexChanged, this, &GoToFlowWidget::setPageNumber);
|
||||
connect(flow, &YACReaderFlowGL::selected, this, &GoToFlowGL::goToPage);
|
||||
|
||||
connect(toolBar, SIGNAL(goTo(unsigned int)), this, SIGNAL(goToPage(unsigned int)));
|
||||
connect(toolBar, &GoToFlowToolBar::goToPage, this, &GoToFlowGL::goToPage);
|
||||
connect(toolBar, &GoToFlowToolBar::setCenter, flow, &YACReaderFlowGL::setCenterIndex);
|
||||
|
||||
mainLayout->addWidget(flow);
|
||||
|
Reference in New Issue
Block a user