summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@digia.com>2013-02-19 12:09:12 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-20 12:59:55 +0100
commit75087198306d615c7df1fb3763c5027834f0b99c (patch)
tree1c2f04a77debba1380e08962779ebfde85175a94 /qmake
parentb6ccdfa4823d4608f5cb94797b48fc82b8833581 (diff)
Avoid potential crash when changing styles with stylesheet
This is not always reproducible, but it probably crashed because QStyleSheetStyle::polish() can do some nasty things such as creating and deleting objects, which can leave the list with dangling QObject pointers. However, it should not delete QWidgets, so we make sure we only have a list of QWidgets before we perform the polish iteration. Change-Id: I84c1ca6a7316e72348248ff056b65dcbae3d20a3 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions