diff options
| author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2011-05-26 11:56:54 (GMT) |
|---|---|---|
| committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2011-05-26 14:21:20 (GMT) |
| commit | 6c10e72fc838f8f9f5c3a3e4a297088b1725262c (patch) | |
| tree | 4ef2188f5d2320e8b1a275f63b8cb4b33bf25a09 /doc/src/snippets/code/doc_src_debug.cpp | |
| parent | 4a7b3a10da5b3bd63b6f8a6c0cc53ee22c60fe60 (diff) | |
| download | Qt-6c10e72fc838f8f9f5c3a3e4a297088b1725262c.zip Qt-6c10e72fc838f8f9f5c3a3e4a297088b1725262c.tar.gz Qt-6c10e72fc838f8f9f5c3a3e4a297088b1725262c.tar.bz2 | |
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_debug.cpp')
0 files changed, 0 insertions, 0 deletions
