diff options
author | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2018-10-15 16:39:03 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-04-12 14:33:32 +0000 |
commit | 21dcb96ddca357a6e8ace4b1c7252ec465e77727 (patch) | |
tree | 88fdf6336126ad6176dc60984e38428d7549c5f2 /src/plugins/platforms/windows/qwindowssessionmanager.cpp | |
parent | 2593463eafcf8b3cb62dd4f8f9545359336bc005 (diff) |
QStyleSheetStyle::repolish: only run on direct children
When re-parenting, some widgets change their children. For example
QLabel, when set to rich text, will not update, until receiving a polish
call, at which time getting a list of all children recursively and then
trying to call functions on them will crash, since the children change
in the middle of this operation.
Fixes: QTBUG-69204
Fixes: QTBUG-74667
Change-Id: I95dd83ebeed14c017e22552ddd47658ae8a09353
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowssessionmanager.cpp')
0 files changed, 0 insertions, 0 deletions