mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Handle StyleChange event in DockWidgetTab to update icon
This commit is contained in:
parent
d5fefaa35f
commit
7ab4c9af2e
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user