Handle StyleChange event in DockWidgetTab to update icon

This commit is contained in:
Uwe Kindler 2022-02-25 21:41:46 +01:00
parent d5fefaa35f
commit 7ab4c9af2e

View File

@ -716,6 +716,10 @@ bool CDockWidgetTab::event(QEvent *e)
}
}
#endif
if (e->type() == QEvent::StyleChange)
{
d->updateIcon();
}
return Super::event(e);
}