mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Add the possibility to show a recently added/updated indicator
This commit is contained in:
@ -120,9 +120,7 @@ void ClassicComicsView::setToolBar(QToolBar *toolBar)
|
||||
static_cast<QVBoxLayout *>(comics->layout())->insertWidget(0, toolBar);
|
||||
this->toolbar = toolBar;
|
||||
|
||||
toolBarStretch = new YACReaderToolBarStretch(this);
|
||||
|
||||
toolBarStretchAction = toolBar->addWidget(toolBarStretch);
|
||||
startSeparatorAction = toolBar->addSeparator();
|
||||
toolBar->addAction(hideFlowViewAction);
|
||||
}
|
||||
|
||||
@ -343,7 +341,7 @@ void ClassicComicsView::removeItemsFromFlow(const QModelIndex &parent, int from,
|
||||
|
||||
void ClassicComicsView::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
toolbar->removeAction(toolBarStretchAction);
|
||||
toolbar->removeAction(startSeparatorAction);
|
||||
toolbar->removeAction(hideFlowViewAction);
|
||||
|
||||
saveTableHeadersStatus();
|
||||
|
Reference in New Issue
Block a user