Update icon label tooltip when the tab tooltip changes (#322)

Co-authored-by: Rodrigo Oliva <Rodrigo.Oliva@king.com>
This commit is contained in:
Rodrigo Oliva 2021-05-26 06:59:36 +02:00 committed by GitHub
parent 48406da6ea
commit ad30211dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -677,6 +677,9 @@ bool CDockWidgetTab::event(QEvent *e)
{
const auto text = toolTip();
d->TitleLabel->setToolTip(text);
if (d->IconLabel) {
d->IconLabel->setToolTip(text);
}
}
#endif
return Super::event(e);