diff options
| author | Gabriel de Dietrich <[email protected]> | 2011-05-26 15:12:48 +0200 |
|---|---|---|
| committer | Qt Continuous Integration System <[email protected]> | 2011-05-26 20:39:30 +0200 |
| commit | d49973f834fb73c534275f5b1d508329638e2823 (patch) | |
| tree | c11baf84bd5ac034ab0dfed90c47d2b9fa2e7e06 /examples/qtestlib/tutorial1/tutorial1.pro | |
| parent | bbbea1fa966525ae8417297ce5579c5f2011ad2c (diff) | |
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.
Task-number: QTBUG-17333
Change-Id: I4682c3088ea53fb9f28f746c8264f573b5284825
Reviewed-on: http://codereview.qt.nokia.com/156
Reviewed-by: Olivier Goffart <[email protected]>
Diffstat (limited to 'examples/qtestlib/tutorial1/tutorial1.pro')
0 files changed, 0 insertions, 0 deletions
