1
0
mirror of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git synced 2025-03-16 02:59:51 +08:00

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 #endif
if (e->type() == QEvent::StyleChange)
{
d->updateIcon();
}
return Super::event(e); return Super::event(e);
} }