diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2011-05-26 13:56:54 +0200 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2011-05-26 16:21:20 +0200 |
commit | 6c10e72fc838f8f9f5c3a3e4a297088b1725262c (patch) | |
tree | 4ef2188f5d2320e8b1a275f63b8cb4b33bf25a09 /doc/src/snippets/code/doc_src_qalgorithms.cpp | |
parent | 4a7b3a10da5b3bd63b6f8a6c0cc53ee22c60fe60 (diff) | |
download | qt4-tools-6c10e72fc838f8f9f5c3a3e4a297088b1725262c.tar.gz |
Fix infinite recursion when changing geometry on Mac
Some complex widgets might get a negatively sized rectangle when
calling QWidgetPrivate:setGeometry_sys_helper(), triggering a infinite
recursion. Normalizing the rectangle size before checking for size
change is enough to break this infinite recursion.
Reviewed-by: Richard
Task-number: QTBUG-17333
Diffstat (limited to 'doc/src/snippets/code/doc_src_qalgorithms.cpp')
0 files changed, 0 insertions, 0 deletions