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

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);