Implement a way for setting the title in the main toolbar.

This commit is contained in:
Luis Ángel San Martín
2018-09-12 10:22:39 +02:00
committed by Luis Ángel San Martín
parent ca5096fba4
commit e7922a0e51
5 changed files with 27 additions and 15 deletions

View File

@ -132,7 +132,7 @@ void YACReaderMainToolBar::addWideDivider()
mainLayout->addSpacing(3);
}
void YACReaderMainToolBar::setCurrentFolderName(const QString &name)
void YACReaderMainToolBar::setTitle(const QString & name)
{
currentFolder->setText(name);
currentFolderName = name;