mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
Implement a way for setting the title in the main toolbar.
This commit is contained in:
committed by
Luis Ángel San Martín
parent
ca5096fba4
commit
e7922a0e51
@ -153,3 +153,10 @@ void YACReaderLibraryToolbar::setDisabled(bool disabled)
|
||||
defaultToolbar->setDisabled(disabled);
|
||||
}
|
||||
}
|
||||
|
||||
void YACReaderLibraryToolbar::setTitle(const QString &title)
|
||||
{
|
||||
if (defaultToolbar != nullptr) {
|
||||
defaultToolbar->setTitle(title);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user