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

@ -153,3 +153,10 @@ void YACReaderLibraryToolbar::setDisabled(bool disabled)
defaultToolbar->setDisabled(disabled);
}
}
void YACReaderLibraryToolbar::setTitle(const QString &title)
{
if (defaultToolbar != nullptr) {
defaultToolbar->setTitle(title);
}
}